shell: Use generic marshaller

https://bugzilla.gnome.org/show_bug.cgi?id=662152
This commit is contained in:
Jasper St. Pierre
2011-10-18 18:19:32 -04:00
parent 46505a8314
commit b40b19997a
15 changed files with 30 additions and 97 deletions

View File

@ -70,8 +70,7 @@ static void shell_app_system_class_init(ShellAppSystemClass *klass)
SHELL_TYPE_APP_SYSTEM,
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
g_cclosure_marshal_VOID__OBJECT,
NULL, NULL, NULL,
G_TYPE_NONE, 1,
SHELL_TYPE_APP);
signals[INSTALLED_CHANGED] =
@ -79,8 +78,7 @@ static void shell_app_system_class_init(ShellAppSystemClass *klass)
SHELL_TYPE_APP_SYSTEM,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ShellAppSystemClass, installed_changed),
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
NULL, NULL, NULL,
G_TYPE_NONE, 0);
g_type_class_add_private (gobject_class, sizeof (ShellAppSystemPrivate));