2008-11-20 Dan Williams <dcbw@redhat.com>
authorDan Williams <dcbw@redhat.com>
Thu, 20 Nov 2008 14:47:08 +0000 (14:47 +0000)
committerDan Williams <dcbw@redhat.com>
Thu, 20 Nov 2008 14:47:08 +0000 (14:47 +0000)
* libnm-util/nm-setting.c
  libnm-util/nm-setting.h
  libnm-util/libnm-util.ver
- (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
consistent with nm_connection_new_from_hash()

* src/nm-activation-request.c
  libnm-util/nm-connection.c
- Handle rename

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4312 4912f4e0-d625-0410-9fb7-b9a5a253dbdc

ChangeLog
libnm-util/libnm-util.ver
libnm-util/nm-connection.c
libnm-util/nm-setting.c
libnm-util/nm-setting.h
src/nm-activation-request.c

index 5b09df9..b150a40 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2008-11-20  Dan Williams  <dcbw@redhat.com>
+
+       * libnm-util/nm-setting.c
+         libnm-util/nm-setting.h
+         libnm-util/libnm-util.ver
+               - (nm_setting_new_from_hash): rename from nm_setting_from_hash() to be
+                       consistent with nm_connection_new_from_hash()
+
+       * src/nm-activation-request.c
+         libnm-util/nm-connection.c
+               - Handle rename
+
 2008-11-19  Dan Williams  <dcbw@redhat.com>
 
        * configure.in
index 73a93b2..3444ef7 100644 (file)
@@ -84,7 +84,7 @@ global:
        nm_setting_connection_get_read_only;
        nm_setting_duplicate;
        nm_setting_enumerate_values;
-       nm_setting_from_hash;
+       nm_setting_new_from_hash;
        nm_setting_get_name;
        nm_setting_get_type;
        nm_setting_gsm_error_get_type;
index 83e699b..ebd32f8 100644 (file)
@@ -332,7 +332,7 @@ parse_one_setting (gpointer key, gpointer value, gpointer user_data)
 
        type = nm_connection_lookup_setting_type ((char *) key);
        if (type)
-               setting = nm_setting_from_hash (type, (GHashTable *) value);
+               setting = nm_setting_new_from_hash (type, (GHashTable *) value);
        if (setting)
                nm_connection_add_setting (connection, setting);
 }
index c319a5d..62a012d 100644 (file)
@@ -141,8 +141,8 @@ one_property_cb (gpointer key, gpointer val, gpointer user_data)
 }
 
 NMSetting *
-nm_setting_from_hash (GType setting_type,
-                                 GHashTable *hash)
+nm_setting_new_from_hash (GType setting_type,
+                          GHashTable *hash)
 {
        NMSetting *setting;
        NMSettingFromHashInfo info;
index 833756b..5eb92b3 100644 (file)
@@ -74,8 +74,8 @@ typedef void (*NMSettingValueIterFn) (NMSetting *setting,
 GType nm_setting_get_type (void);
 
 GHashTable *nm_setting_to_hash       (NMSetting *setting);
-NMSetting  *nm_setting_from_hash     (GType setting_type,
-                                                          GHashTable *hash);
+NMSetting  *nm_setting_new_from_hash (GType setting_type,
+                                      GHashTable *hash);
 
 NMSetting *nm_setting_duplicate      (NMSetting *setting);
 
index 454fa9a..47df80e 100644 (file)
@@ -418,7 +418,7 @@ update_one_setting (const char* key,
        if (type == 0)
                return;
 
-       setting = nm_setting_from_hash (type, setting_hash);
+       setting = nm_setting_new_from_hash (type, setting_hash);
        if (setting) {
                NMSetting *s_8021x = NULL;
                GSList *all_settings = NULL;