mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-23 19:24:38 +00:00
2008-02-25 Dan Williams <dcbw@redhat.com>
* libnm-util/nm-setting.c - (nm_setting_compare): Fix C&P error from r3068 that caused settings comparisons to always succeed; clarify assignment of values to 'different' git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3341 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
00a3dfbafa
commit
ade314556c
|
@ -1,3 +1,10 @@
|
|||
2008-02-25 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-setting.c
|
||||
- (nm_setting_compare): Fix C&P error from r3068 that caused settings
|
||||
comparisons to always succeed; clarify assignment of values to
|
||||
'different'
|
||||
|
||||
2008-02-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* libnm-util/nm-setting.c
|
||||
|
|
|
@ -188,9 +188,9 @@ nm_setting_compare (NMSetting *setting,
|
|||
g_object_get_property (G_OBJECT (setting), prop_spec->name, &value1);
|
||||
|
||||
g_value_init (&value2, prop_spec->value_type);
|
||||
g_object_get_property (G_OBJECT (setting), prop_spec->name, &value2);
|
||||
g_object_get_property (G_OBJECT (other), prop_spec->name, &value2);
|
||||
|
||||
different = g_param_values_cmp (prop_spec, &value1, &value2) != 0;
|
||||
different = g_param_values_cmp (prop_spec, &value1, &value2);
|
||||
|
||||
g_value_unset (&value1);
|
||||
g_value_unset (&value2);
|
||||
|
|
Loading…
Reference in a new issue