2007-10-04 Dan Williams <dcbw@redhat.com>

* libnm-glib/nm-settings.c
		- (nm_connection_settings_class_init): provide correct type for argument
			to the Updated signal so that dbus-glib knows how to marshal it



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2931 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2007-10-04 14:08:08 +00:00
parent 3874276f91
commit 27a1a0e95a
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-10-04 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-settings.c
- (nm_connection_settings_class_init): provide correct type for argument
to the Updated signal so that dbus-glib knows how to marshal it
2007-10-03 Dan Williams <dcbw@redhat.com>
* src/nm-device-802-3-ethernet.c

View file

@ -233,6 +233,9 @@ nm_connection_settings_finalize (GObject *object)
G_OBJECT_CLASS (nm_connection_settings_parent_class)->finalize (object);
}
#define DBUS_TYPE_G_STRING_VARIANT_HASHTABLE (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE))
#define DBUS_TYPE_G_DICT_OF_DICTS (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, DBUS_TYPE_G_STRING_VARIANT_HASHTABLE))
static void
nm_connection_settings_class_init (NMConnectionSettingsClass *connection_settings_class)
{
@ -255,7 +258,7 @@ nm_connection_settings_class_init (NMConnectionSettingsClass *connection_setting
NULL, NULL,
g_cclosure_marshal_VOID__POINTER,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
DBUS_TYPE_G_DICT_OF_DICTS);
connection_signals[CS_REMOVED] =
g_signal_new ("removed",
G_OBJECT_CLASS_TYPE (object_class),