summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2019-05-29 13:27:53 -0700
committerChristian Hergert <chergert@redhat.com>2019-05-29 13:30:15 -0700
commita8a56e8a0e8424edb770cf9f7591b2512ca894ed (patch)
treeb652f83e7671336e8fe8e83d51aec0fdb9637d21
parent47d24c34cd36f3fd7e5a7866ab6870ee4ed5763a (diff)
downloadgtk+-a8a56e8a0e8424edb770cf9f7591b2512ca894ed.tar.gz
marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used
If we set c_marshaller manually, then g_signal_newv() will not setup a va_marshaller for us. However, if we provide c_marshaller as NULL, it will setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us.
-rw-r--r--gdk/gdkdevice.c2
-rw-r--r--gdk/gdkdisplay.c2
-rw-r--r--gdk/gdkdnd.c2
-rw-r--r--gdk/gdkframeclock.c21
-rw-r--r--gdk/gdkkeys.c6
-rw-r--r--gdk/gdkmonitor.c2
-rw-r--r--gdk/gdkscreen.c6
-rw-r--r--gdk/x11/gdkscreen-x11.c2
-rw-r--r--gtk/deprecated/gtkaction.c2
-rw-r--r--gtk/deprecated/gtkstatusicon.c2
-rw-r--r--gtk/deprecated/gtktoggleaction.c2
-rw-r--r--gtk/deprecated/gtkuimanager.c2
-rw-r--r--gtk/gtkassistant.c8
-rw-r--r--gtk/gtkcombobox.c4
-rw-r--r--gtk/gtkeventcontrollerkey.c6
-rw-r--r--gtk/gtkeventcontrollerscroll.c4
-rw-r--r--gtk/gtkfilechooser.c8
-rw-r--r--gtk/gtkfilesystem.c2
-rw-r--r--gtk/gtkflowbox.c12
-rw-r--r--gtk/gtkfontbutton.c2
-rw-r--r--gtk/gtkicontheme.c2
-rw-r--r--gtk/gtkiconview.c10
-rw-r--r--gtk/gtkinfobar.c2
-rw-r--r--gtk/gtklistbox.c10
-rw-r--r--gtk/gtkmenutoolbutton.c2
-rw-r--r--gtk/gtkprintbackend.c4
-rw-r--r--gtk/gtkprinteroption.c2
-rw-r--r--gtk/gtkprinteroptionset.c2
-rw-r--r--gtk/gtkprinteroptionwidget.c2
-rw-r--r--gtk/gtkprintjob.c2
-rw-r--r--gtk/gtkprintoperation.c2
-rw-r--r--gtk/gtkrecentchooser.c4
-rw-r--r--gtk/gtkrecentmanager.c2
-rw-r--r--gtk/gtkscalebutton.c4
-rw-r--r--gtk/gtksearchengine.c2
-rw-r--r--gtk/gtkstylecontext.c2
-rw-r--r--gtk/gtkstyleproviderprivate.c2
-rw-r--r--gtk/gtktoggletoolbutton.c2
-rw-r--r--gtk/gtktoolbutton.c2
-rw-r--r--gtk/gtkwidget.c2
40 files changed, 76 insertions, 83 deletions
diff --git a/gdk/gdkdevice.c b/gdk/gdkdevice.c
index d45e9863c2..a629f81cfc 100644
--- a/gdk/gdkdevice.c
+++ b/gdk/gdkdevice.c
@@ -349,7 +349,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
0, NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 06d4187345..30d2014605 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -173,7 +173,7 @@ gdk_display_class_init (GdkDisplayClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkDisplayClass, opened),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index f5e0469802..86e2e09c6e 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -334,7 +334,7 @@ gdk_drag_context_class_init (GdkDragContextClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkDragContextClass, dnd_finished),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gdk/gdkframeclock.c b/gdk/gdkframeclock.c
index 44696fac53..99f93838fc 100644
--- a/gdk/gdkframeclock.c
+++ b/gdk/gdkframeclock.c
@@ -125,8 +125,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST,
0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
@@ -141,8 +140,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST,
0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
@@ -161,8 +159,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST,
0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
@@ -179,8 +176,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST,
0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
@@ -198,8 +194,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST,
0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
@@ -214,8 +209,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST,
0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
/**
@@ -231,8 +225,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST,
0,
- NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL, NULL, NULL,
G_TYPE_NONE, 0);
}
diff --git a/gdk/gdkkeys.c b/gdk/gdkkeys.c
index 27e8f8bebf..fabd8c06c0 100644
--- a/gdk/gdkkeys.c
+++ b/gdk/gdkkeys.c
@@ -138,7 +138,7 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, direction_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
/**
@@ -156,7 +156,7 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, keys_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
@@ -176,7 +176,7 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, state_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
}
diff --git a/gdk/gdkmonitor.c b/gdk/gdkmonitor.c
index bf69a19027..a768b591d0 100644
--- a/gdk/gdkmonitor.c
+++ b/gdk/gdkmonitor.c
@@ -243,7 +243,7 @@ gdk_monitor_class_init (GdkMonitorClass *class)
G_SIGNAL_RUN_FIRST,
0,
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index 8d245b0d63..4fa63f4b72 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -119,7 +119,7 @@ gdk_screen_class_init (GdkScreenClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkScreenClass, size_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
@@ -138,7 +138,7 @@ gdk_screen_class_init (GdkScreenClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkScreenClass, composited_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
@@ -160,7 +160,7 @@ gdk_screen_class_init (GdkScreenClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkScreenClass, monitors_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
}
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 272cecd7aa..f5faf8feac 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -1600,7 +1600,7 @@ gdk_x11_screen_class_init (GdkX11ScreenClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkX11ScreenClass, window_manager_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
}
diff --git a/gtk/deprecated/gtkaction.c b/gtk/deprecated/gtkaction.c
index e857ab4ed4..b89ae778f3 100644
--- a/gtk/deprecated/gtkaction.c
+++ b/gtk/deprecated/gtkaction.c
@@ -536,7 +536,7 @@ gtk_action_class_init (GtkActionClass *klass)
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE,
G_STRUCT_OFFSET (GtkActionClass, activate), NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/deprecated/gtkstatusicon.c b/gtk/deprecated/gtkstatusicon.c
index b67f74791a..c872da7a85 100644
--- a/gtk/deprecated/gtkstatusicon.c
+++ b/gtk/deprecated/gtkstatusicon.c
@@ -464,7 +464,7 @@ gtk_status_icon_class_init (GtkStatusIconClass *class)
G_STRUCT_OFFSET (GtkStatusIconClass, activate),
NULL,
NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE,
0);
diff --git a/gtk/deprecated/gtktoggleaction.c b/gtk/deprecated/gtktoggleaction.c
index a7b932366d..7a7faa968f 100644
--- a/gtk/deprecated/gtktoggleaction.c
+++ b/gtk/deprecated/gtktoggleaction.c
@@ -151,7 +151,7 @@ gtk_toggle_action_class_init (GtkToggleActionClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkToggleActionClass, toggled),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/deprecated/gtkuimanager.c b/gtk/deprecated/gtkuimanager.c
index 160a9f74f9..c6bd816e9b 100644
--- a/gtk/deprecated/gtkuimanager.c
+++ b/gtk/deprecated/gtkuimanager.c
@@ -514,7 +514,7 @@ gtk_ui_manager_class_init (GtkUIManagerClass *klass)
G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE,
G_STRUCT_OFFSET (GtkUIManagerClass, actions_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index d8d7329144..cd0fe972ea 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -426,7 +426,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkAssistantClass, cancel),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -475,7 +475,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkAssistantClass, apply),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -494,7 +494,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkAssistantClass, close),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[ESCAPE] =
@@ -503,7 +503,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
G_CALLBACK (escape_cb),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
binding_set = gtk_binding_set_by_class (class);
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index e6589b4c90..02c0b5d951 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -718,7 +718,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkComboBoxClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
* GtkComboBox::move-active:
@@ -759,7 +759,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_combo_box_real_popup),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
* GtkComboBox::popdown:
diff --git a/gtk/gtkeventcontrollerkey.c b/gtk/gtkeventcontrollerkey.c
index 2abc4c9726..90fc0d2d47 100644
--- a/gtk/gtkeventcontrollerkey.c
+++ b/gtk/gtkeventcontrollerkey.c
@@ -214,21 +214,21 @@ gtk_event_controller_key_class_init (GtkEventControllerKeyClass *klass)
GTK_TYPE_EVENT_CONTROLLER_KEY,
G_SIGNAL_RUN_LAST,
0, NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[FOCUS_IN] =
g_signal_new (I_("focus-in"),
GTK_TYPE_EVENT_CONTROLLER_KEY,
G_SIGNAL_RUN_LAST,
0, NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[FOCUS_OUT] =
g_signal_new (I_("focus-out"),
GTK_TYPE_EVENT_CONTROLLER_KEY,
G_SIGNAL_RUN_LAST,
0, NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/gtkeventcontrollerscroll.c b/gtk/gtkeventcontrollerscroll.c
index 314be1b708..a8dfd297df 100644
--- a/gtk/gtkeventcontrollerscroll.c
+++ b/gtk/gtkeventcontrollerscroll.c
@@ -389,7 +389,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
GTK_TYPE_EVENT_CONTROLLER_SCROLL,
G_SIGNAL_RUN_FIRST,
0, NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
* GtkEventControllerScroll::scroll:
@@ -419,7 +419,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
GTK_TYPE_EVENT_CONTROLLER_SCROLL,
G_SIGNAL_RUN_FIRST,
0, NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 26240c95a6..801eca621f 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -205,7 +205,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, current_folder_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -232,7 +232,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, selection_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -267,7 +267,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, update_preview),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -291,7 +291,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, file_activated),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index f6edb4e2b9..cd91392505 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -149,7 +149,7 @@ _gtk_file_system_class_init (GtkFileSystemClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileSystemClass, volumes_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/gtkflowbox.c b/gtk/gtkflowbox.c
index 6aa3380652..755eb2c201 100644
--- a/gtk/gtkflowbox.c
+++ b/gtk/gtkflowbox.c
@@ -631,7 +631,7 @@ gtk_flow_box_child_class_init (GtkFlowBoxChildClass *class)
G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxChildClass, activate),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
widget_class->activate_signal = child_signals[CHILD_ACTIVATE];
@@ -3942,7 +3942,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkFlowBoxClass, selected_children_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -3958,7 +3958,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, activate_cursor_child),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -3976,7 +3976,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, toggle_cursor_child),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -4028,7 +4028,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, select_all),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -4047,7 +4047,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, unselect_all),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
widget_class->activate_signal = signals[ACTIVATE_CURSOR_CHILD];
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index ed62162a7f..0e06399ed9 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -593,7 +593,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkFontButtonClass, font_set),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/* Bind class to template
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index b39e66e46c..65c64b38e3 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -517,7 +517,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkIconThemeClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 6de96bf09b..cc834fe533 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -743,7 +743,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkIconViewClass, selection_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -765,7 +765,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, select_all),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -787,7 +787,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, unselect_all),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -810,7 +810,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, select_cursor_item),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -834,7 +834,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, toggle_cursor_item),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 9d156afd4a..f2641d5952 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -402,7 +402,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkInfoBarClass, close),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c
index b77a27e4d9..b966ddace7 100644
--- a/gtk/gtklistbox.c
+++ b/gtk/gtklistbox.c
@@ -529,7 +529,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkListBoxClass, selected_rows_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -549,7 +549,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, select_all),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -569,7 +569,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, unselect_all),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -596,7 +596,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, activate_cursor_row),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[TOGGLE_CURSOR_ROW] =
g_signal_new (I_("toggle-cursor-row"),
@@ -604,7 +604,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, toggle_cursor_row),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[MOVE_CURSOR] =
g_signal_new (I_("move-cursor"),
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c
index cf2e51f9f1..431eea0ee5 100644
--- a/gtk/gtkmenutoolbutton.c
+++ b/gtk/gtkmenutoolbutton.c
@@ -257,7 +257,7 @@ gtk_menu_tool_button_class_init (GtkMenuToolButtonClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkMenuToolButtonClass, show_menu),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
g_object_class_install_property (object_class,
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index 1a730ee3a2..c17ac03f6d 100644
--- a/gtk/gtkprintbackend.c
+++ b/gtk/gtkprintbackend.c
@@ -404,7 +404,7 @@ gtk_print_backend_class_init (GtkPrintBackendClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintBackendClass, printer_list_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[PRINTER_LIST_DONE] =
g_signal_new (I_("printer-list-done"),
@@ -412,7 +412,7 @@ gtk_print_backend_class_init (GtkPrintBackendClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintBackendClass, printer_list_done),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[PRINTER_ADDED] =
g_signal_new (I_("printer-added"),
diff --git a/gtk/gtkprinteroption.c b/gtk/gtkprinteroption.c
index 412671671e..a2be4402df 100644
--- a/gtk/gtkprinteroption.c
+++ b/gtk/gtkprinteroption.c
@@ -94,7 +94,7 @@ gtk_printer_option_class_init (GtkPrinterOptionClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrinterOptionClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
g_object_class_install_property (G_OBJECT_CLASS (class),
diff --git a/gtk/gtkprinteroptionset.c b/gtk/gtkprinteroptionset.c
index 5748565c7f..6d3f9f6a26 100644
--- a/gtk/gtkprinteroptionset.c
+++ b/gtk/gtkprinteroptionset.c
@@ -72,7 +72,7 @@ gtk_printer_option_set_class_init (GtkPrinterOptionSetClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrinterOptionSetClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c
index 054b0e4277..e4bf1375d6 100644
--- a/gtk/gtkprinteroptionwidget.c
+++ b/gtk/gtkprinteroptionwidget.c
@@ -117,7 +117,7 @@ gtk_printer_option_widget_class_init (GtkPrinterOptionWidgetClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrinterOptionWidgetClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
g_object_class_install_property (object_class,
diff --git a/gtk/gtkprintjob.c b/gtk/gtkprintjob.c
index 16fd9e945e..6d58bba34c 100644
--- a/gtk/gtkprintjob.c
+++ b/gtk/gtkprintjob.c
@@ -189,7 +189,7 @@ gtk_print_job_class_init (GtkPrintJobClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintJobClass, status_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index e682f569c0..92b920bc10 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -974,7 +974,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintOperationClass, status_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
diff --git a/gtk/gtkrecentchooser.c b/gtk/gtkrecentchooser.c
index e976db7627..e6d25c580a 100644
--- a/gtk/gtkrecentchooser.c
+++ b/gtk/gtkrecentchooser.c
@@ -94,7 +94,7 @@ gtk_recent_chooser_default_init (GtkRecentChooserInterface *iface)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkRecentChooserIface, selection_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -114,7 +114,7 @@ gtk_recent_chooser_default_init (GtkRecentChooserInterface *iface)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkRecentChooserIface, item_activated),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
diff --git a/gtk/gtkrecentmanager.c b/gtk/gtkrecentmanager.c
index a83e86a93f..c1fd3b8a88 100644
--- a/gtk/gtkrecentmanager.c
+++ b/gtk/gtkrecentmanager.c
@@ -324,7 +324,7 @@ gtk_recent_manager_class_init (GtkRecentManagerClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkRecentManagerClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
klass->changed = gtk_recent_manager_real_changed;
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c
index 2b331b008e..e74dcf2b49 100644
--- a/gtk/gtkscalebutton.c
+++ b/gtk/gtkscalebutton.c
@@ -283,7 +283,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_scale_button_popup),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -304,7 +304,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_scale_button_popdown),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/* Key bindings */
diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c
index 7591700871..9f1c20e0f4 100644
--- a/gtk/gtksearchengine.c
+++ b/gtk/gtksearchengine.c
@@ -184,7 +184,7 @@ _gtk_search_engine_class_init (GtkSearchEngineClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkSearchEngineClass, finished),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
signals[ERROR] =
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index bda5069d29..6c154e2c60 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -221,7 +221,7 @@ gtk_style_context_class_init (GtkStyleContextClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkStyleContextClass, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
properties[PROP_SCREEN] =
diff --git a/gtk/gtkstyleproviderprivate.c b/gtk/gtkstyleproviderprivate.c
index cb1b269b17..d45a6ae831 100644
--- a/gtk/gtkstyleproviderprivate.c
+++ b/gtk/gtkstyleproviderprivate.c
@@ -40,7 +40,7 @@ _gtk_style_provider_private_default_init (GtkStyleProviderPrivateInterface *ifac
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkStyleProviderPrivateInterface, changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/gtktoggletoolbutton.c b/gtk/gtktoggletoolbutton.c
index 9a3722c6d1..70bbf66d44 100644
--- a/gtk/gtktoggletoolbutton.c
+++ b/gtk/gtktoggletoolbutton.c
@@ -144,7 +144,7 @@ gtk_toggle_tool_button_class_init (GtkToggleToolButtonClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkToggleToolButtonClass, toggled),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 50eb17344d..e56f28b5b5 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -328,7 +328,7 @@ gtk_tool_button_class_init (GtkToolButtonClass *klass)
G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkToolButtonClass, clicked),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
g_type_class_add_private (object_class, sizeof (GtkToolButtonPrivate));
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index ca0281cdd9..9c3a668ea8 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -1910,7 +1910,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkWidgetClass, style_updated),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**