diff --git a/src/shell-app-system.c b/src/shell-app-system.c index a4061cb2f..108b616c4 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -64,8 +64,8 @@ static void shell_app_system_class_init(ShellAppSystemClass *klass) g_signal_new ("installed-changed", SHELL_TYPE_APP_SYSTEM, G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (ShellAppSystemClass, installed_changed), - NULL, NULL, NULL, + 0, + NULL, NULL, NULL, G_TYPE_NONE, 0); } diff --git a/src/shell-app-system.h b/src/shell-app-system.h index 16a2c550f..f9ed003cb 100644 --- a/src/shell-app-system.h +++ b/src/shell-app-system.h @@ -29,9 +29,6 @@ struct _ShellAppSystem struct _ShellAppSystemClass { GObjectClass parent_class; - - void (*installed_changed)(ShellAppSystem *appsys, gpointer user_data); - void (*favorites_changed)(ShellAppSystem *appsys, gpointer user_data); }; GType shell_app_system_get_type (void) G_GNUC_CONST; diff --git a/src/shell-tray-manager.c b/src/shell-tray-manager.c index cc2519a02..5fe165ebe 100644 --- a/src/shell-tray-manager.c +++ b/src/shell-tray-manager.c @@ -152,7 +152,7 @@ shell_tray_manager_class_init (ShellTrayManagerClass *klass) g_signal_new ("tray-icon-added", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (ShellTrayManagerClass, tray_icon_added), + 0, NULL, NULL, NULL, G_TYPE_NONE, 1, CLUTTER_TYPE_ACTOR); @@ -160,7 +160,7 @@ shell_tray_manager_class_init (ShellTrayManagerClass *klass) g_signal_new ("tray-icon-removed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (ShellTrayManagerClass, tray_icon_removed), + 0, NULL, NULL, NULL, G_TYPE_NONE, 1, CLUTTER_TYPE_ACTOR); diff --git a/src/shell-tray-manager.h b/src/shell-tray-manager.h index f19167aef..0f281dcf4 100644 --- a/src/shell-tray-manager.h +++ b/src/shell-tray-manager.h @@ -29,13 +29,6 @@ struct _ShellTrayManager struct _ShellTrayManagerClass { GObjectClass parent_class; - - void (* tray_icon_added) (ShellTrayManager *manager, - ClutterActor *icon, - const char *lowercase_wm_class); - void (* tray_icon_removed) (ShellTrayManager *manager, - ClutterActor *icon); - }; GType shell_tray_manager_get_type (void);