diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-04-27 22:40:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-04-27 22:40:44 (GMT) |
commit | 22804bd41734e57a4ee3079d17ecaed4c19dc6a4 (patch) | |
tree | 1dcdd56078e051b425ab7596081d88401fdf5d5c /src | |
parent | 8a09e4163c79541f0af78719d0cd85b85650c4b4 (diff) |
Used official closures instead of user-defined ones when possible.
Diffstat (limited to 'src')
-rw-r--r-- | src/glibext/gcodebuffer.c | 2 | ||||
-rw-r--r-- | src/gtkext/gtkdockstation.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/glibext/gcodebuffer.c b/src/glibext/gcodebuffer.c index 8979d2f..346ce70 100644 --- a/src/glibext/gcodebuffer.c +++ b/src/glibext/gcodebuffer.c @@ -1796,7 +1796,7 @@ static void g_buffer_view_class_init(GBufferViewClass *class) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(GBufferViewClass, need_redraw), NULL, NULL, - g_cclosure_user_marshal_VOID__OBJECT, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 0); } diff --git a/src/gtkext/gtkdockstation.c b/src/gtkext/gtkdockstation.c index 1672d5e..2061a4b 100644 --- a/src/gtkext/gtkdockstation.c +++ b/src/gtkext/gtkdockstation.c @@ -84,7 +84,7 @@ static void gtk_dock_station_class_init(GtkDockStationClass *class) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(GtkDockStationClass, dock_widget), NULL, NULL, - g_cclosure_user_marshal_VOID__OBJECT, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_WIDGET); g_signal_new("undock-widget", @@ -92,7 +92,7 @@ static void gtk_dock_station_class_init(GtkDockStationClass *class) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(GtkDockStationClass, undock_widget), NULL, NULL, - g_cclosure_user_marshal_VOID__OBJECT, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_WIDGET); g_signal_new("switch-widget", @@ -100,7 +100,7 @@ static void gtk_dock_station_class_init(GtkDockStationClass *class) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(GtkDockStationClass, switch_widget), NULL, NULL, - g_cclosure_user_marshal_VOID__OBJECT, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GTK_TYPE_WIDGET); g_signal_new("menu-requested", |