Changeset 16257

Show
Ignore:
Timestamp:
04/28/08 09:16:22 (5 months ago)
Author:
piotras
Message:

Remove hash table argument usage from open methods

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midgard/apis/python/py_midgard_connection.c

    r16244 r16257  
    8585                return NULL; 
    8686 
    87         GHashTable *hashtable = NULL; 
    8887        gboolean connected =  
    8988                midgard_connection_open( 
    9089                                MIDGARD_CONNECTION(self->obj), 
    91                                 (const gchar *)name,  
    92                                 &hashtable); 
    93         if(hashtable) 
    94                 g_hash_table_destroy(hashtable); 
    95  
     90                                (const gchar *)name); 
    9691        if(connected) 
    9792                Py_RETURN_TRUE; 
     
    114109        PyGObject *_config = (PyGObject *)config; 
    115110 
    116         GHashTable *hashtable = NULL; 
    117111        gboolean connected =  
    118112                midgard_connection_open_config( 
    119113                                MIDGARD_CONNECTION(self->obj), 
    120                                 MIDGARD_CONFIG(_config->obj),  
    121                                 &hashtable); 
    122         if(hashtable) 
    123                 g_hash_table_destroy(hashtable); 
    124  
     114                                MIDGARD_CONFIG(_config->obj)); 
    125115        if(connected) 
    126116                Py_RETURN_TRUE;