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.
This commit is contained in:
Christian Hergert 2019-05-29 13:05:19 -07:00
parent 90f330e27a
commit f507a79056
27 changed files with 61 additions and 68 deletions

View File

@ -314,7 +314,7 @@ gdk_device_class_init (GdkDeviceClass *klass)
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, NULL, NULL, 0, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**

View File

@ -220,7 +220,7 @@ gdk_display_class_init (GdkDisplayClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkDisplayClass, opened), G_STRUCT_OFFSET (GdkDisplayClass, opened),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**

View File

@ -465,7 +465,7 @@ gdk_drag_class_init (GdkDragClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkDragClass, drop_performed), G_STRUCT_OFFSET (GdkDragClass, drop_performed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -482,7 +482,7 @@ gdk_drag_class_init (GdkDragClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkDragClass, dnd_finished), G_STRUCT_OFFSET (GdkDragClass, dnd_finished),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
g_object_class_install_properties (object_class, N_PROPERTIES, properties); g_object_class_install_properties (object_class, N_PROPERTIES, properties);

View File

@ -134,8 +134,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK, GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -150,8 +149,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK, GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -170,8 +168,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK, GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -188,8 +185,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK, GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -207,8 +203,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK, GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -223,8 +218,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK, GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -240,8 +234,7 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
GDK_TYPE_FRAME_CLOCK, GDK_TYPE_FRAME_CLOCK,
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
} }

View File

@ -185,7 +185,7 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, direction_changed), G_STRUCT_OFFSET (GdkKeymapClass, direction_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, G_TYPE_NONE,
0); 0);
/** /**
@ -201,7 +201,7 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, keys_changed), G_STRUCT_OFFSET (GdkKeymapClass, keys_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, G_TYPE_NONE,
0); 0);
@ -219,7 +219,7 @@ gdk_keymap_class_init (GdkKeymapClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkKeymapClass, state_changed), G_STRUCT_OFFSET (GdkKeymapClass, state_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, G_TYPE_NONE,
0); 0);
} }

View File

@ -161,7 +161,7 @@ gdk_paintable_default_init (GdkPaintableInterface *iface)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -182,7 +182,7 @@ gdk_paintable_default_init (GdkPaintableInterface *iface)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
} }

View File

@ -475,7 +475,7 @@ gdk_vulkan_context_class_init (GdkVulkanContextClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
} }
@ -1126,7 +1126,7 @@ gdk_vulkan_context_class_init (GdkVulkanContextClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
0, 0,
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
} }

View File

@ -1222,7 +1222,7 @@ gdk_x11_screen_class_init (GdkX11ScreenClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkX11ScreenClass, window_manager_changed), G_STRUCT_OFFSET (GdkX11ScreenClass, window_manager_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, G_TYPE_NONE,
0); 0);
} }

View File

@ -719,7 +719,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkAppChooserButtonClass, changed), G_STRUCT_OFFSET (GtkAppChooserButtonClass, changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);

View File

@ -545,7 +545,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkAssistantClass, cancel), G_STRUCT_OFFSET (GtkAssistantClass, cancel),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -590,7 +590,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkAssistantClass, apply), G_STRUCT_OFFSET (GtkAssistantClass, apply),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -607,7 +607,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkAssistantClass, close), G_STRUCT_OFFSET (GtkAssistantClass, close),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
signals[ESCAPE] = signals[ESCAPE] =
@ -616,7 +616,7 @@ gtk_assistant_class_init (GtkAssistantClass *class)
G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION, G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
G_CALLBACK (escape_cb), G_CALLBACK (escape_cb),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
binding_set = gtk_binding_set_by_class (class); binding_set = gtk_binding_set_by_class (class);

View File

@ -458,7 +458,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkComboBoxClass, changed), G_STRUCT_OFFSET (GtkComboBoxClass, changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
* GtkComboBox::move-active: * GtkComboBox::move-active:
@ -495,7 +495,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_combo_box_real_popup), G_CALLBACK (gtk_combo_box_real_popup),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
* GtkComboBox::popdown: * GtkComboBox::popdown:

View File

@ -385,7 +385,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
GTK_TYPE_EVENT_CONTROLLER_SCROLL, GTK_TYPE_EVENT_CONTROLLER_SCROLL,
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
0, NULL, NULL, 0, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
* GtkEventControllerScroll::scroll: * GtkEventControllerScroll::scroll:
@ -417,7 +417,7 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
GTK_TYPE_EVENT_CONTROLLER_SCROLL, GTK_TYPE_EVENT_CONTROLLER_SCROLL,
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
0, NULL, NULL, 0, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**

View File

@ -205,7 +205,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, current_folder_changed), G_STRUCT_OFFSET (GtkFileChooserIface, current_folder_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -232,7 +232,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, selection_changed), G_STRUCT_OFFSET (GtkFileChooserIface, selection_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -267,7 +267,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, update_preview), G_STRUCT_OFFSET (GtkFileChooserIface, update_preview),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -291,7 +291,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserIface, file_activated), G_STRUCT_OFFSET (GtkFileChooserIface, file_activated),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**

View File

@ -145,7 +145,7 @@ _gtk_file_system_class_init (GtkFileSystemClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileSystemClass, volumes_changed), G_STRUCT_OFFSET (GtkFileSystemClass, volumes_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
} }

View File

@ -444,7 +444,7 @@ gtk_flow_box_child_class_init (GtkFlowBoxChildClass *class)
G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION, G_SIGNAL_RUN_FIRST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxChildClass, activate), G_STRUCT_OFFSET (GtkFlowBoxChildClass, activate),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
widget_class->activate_signal = child_signals[CHILD_ACTIVATE]; widget_class->activate_signal = child_signals[CHILD_ACTIVATE];
@ -3551,7 +3551,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkFlowBoxClass, selected_children_changed), G_STRUCT_OFFSET (GtkFlowBoxClass, selected_children_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -3567,7 +3567,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, activate_cursor_child), G_STRUCT_OFFSET (GtkFlowBoxClass, activate_cursor_child),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -3585,7 +3585,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, toggle_cursor_child), G_STRUCT_OFFSET (GtkFlowBoxClass, toggle_cursor_child),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -3637,7 +3637,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, select_all), G_STRUCT_OFFSET (GtkFlowBoxClass, select_all),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -3656,7 +3656,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkFlowBoxClass, unselect_all), G_STRUCT_OFFSET (GtkFlowBoxClass, unselect_all),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
widget_class->activate_signal = signals[ACTIVATE_CURSOR_CHILD]; widget_class->activate_signal = signals[ACTIVATE_CURSOR_CHILD];

View File

@ -593,7 +593,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkFontButtonClass, font_set), G_STRUCT_OFFSET (GtkFontButtonClass, font_set),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
gtk_widget_class_set_css_name (widget_class, I_("fontbutton")); gtk_widget_class_set_css_name (widget_class, I_("fontbutton"));

View File

@ -496,7 +496,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkIconThemeClass, changed), G_STRUCT_OFFSET (GtkIconThemeClass, changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
} }

View File

@ -666,7 +666,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkIconViewClass, selection_changed), G_STRUCT_OFFSET (GtkIconViewClass, selection_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -688,7 +688,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, select_all), G_STRUCT_OFFSET (GtkIconViewClass, select_all),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -710,7 +710,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, unselect_all), G_STRUCT_OFFSET (GtkIconViewClass, unselect_all),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -733,7 +733,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, select_cursor_item), G_STRUCT_OFFSET (GtkIconViewClass, select_cursor_item),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -757,7 +757,7 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkIconViewClass, toggle_cursor_item), G_STRUCT_OFFSET (GtkIconViewClass, toggle_cursor_item),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**

View File

@ -404,7 +404,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkInfoBarClass, close), G_STRUCT_OFFSET (GtkInfoBarClass, close),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
binding_set = gtk_binding_set_by_class (klass); binding_set = gtk_binding_set_by_class (klass);

View File

@ -523,7 +523,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkListBoxClass, selected_rows_changed), G_STRUCT_OFFSET (GtkListBoxClass, selected_rows_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -541,7 +541,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, select_all), G_STRUCT_OFFSET (GtkListBoxClass, select_all),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -559,7 +559,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, unselect_all), G_STRUCT_OFFSET (GtkListBoxClass, unselect_all),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -584,7 +584,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, activate_cursor_row), G_STRUCT_OFFSET (GtkListBoxClass, activate_cursor_row),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
signals[TOGGLE_CURSOR_ROW] = signals[TOGGLE_CURSOR_ROW] =
g_signal_new (I_("toggle-cursor-row"), g_signal_new (I_("toggle-cursor-row"),
@ -592,7 +592,7 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkListBoxClass, toggle_cursor_row), G_STRUCT_OFFSET (GtkListBoxClass, toggle_cursor_row),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
signals[MOVE_CURSOR] = signals[MOVE_CURSOR] =
g_signal_new (I_("move-cursor"), g_signal_new (I_("move-cursor"),

View File

@ -269,7 +269,7 @@ gtk_menu_tool_button_class_init (GtkMenuToolButtonClass *klass)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkMenuToolButtonClass, show_menu), G_STRUCT_OFFSET (GtkMenuToolButtonClass, show_menu),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
g_object_class_install_property (object_class, g_object_class_install_property (object_class,

View File

@ -280,7 +280,7 @@ gtk_print_backend_class_init (GtkPrintBackendClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintBackendClass, printer_list_changed), G_STRUCT_OFFSET (GtkPrintBackendClass, printer_list_changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
signals[PRINTER_LIST_DONE] = signals[PRINTER_LIST_DONE] =
g_signal_new (I_("printer-list-done"), g_signal_new (I_("printer-list-done"),
@ -288,7 +288,7 @@ gtk_print_backend_class_init (GtkPrintBackendClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintBackendClass, printer_list_done), G_STRUCT_OFFSET (GtkPrintBackendClass, printer_list_done),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
signals[PRINTER_ADDED] = signals[PRINTER_ADDED] =
g_signal_new (I_("printer-added"), g_signal_new (I_("printer-added"),

View File

@ -94,7 +94,7 @@ gtk_printer_option_class_init (GtkPrinterOptionClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrinterOptionClass, changed), G_STRUCT_OFFSET (GtkPrinterOptionClass, changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
g_object_class_install_property (G_OBJECT_CLASS (class), g_object_class_install_property (G_OBJECT_CLASS (class),

View File

@ -311,7 +311,7 @@ gtk_recent_manager_class_init (GtkRecentManagerClass *klass)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkRecentManagerClass, changed), G_STRUCT_OFFSET (GtkRecentManagerClass, changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
klass->changed = gtk_recent_manager_real_changed; klass->changed = gtk_recent_manager_real_changed;

View File

@ -275,7 +275,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_scale_button_popup), G_CALLBACK (gtk_scale_button_popup),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/** /**
@ -294,7 +294,7 @@ gtk_scale_button_class_init (GtkScaleButtonClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_CALLBACK (gtk_scale_button_popdown), G_CALLBACK (gtk_scale_button_popdown),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
/* Key bindings */ /* Key bindings */

View File

@ -184,7 +184,7 @@ _gtk_search_engine_class_init (GtkSearchEngineClass *class)
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkSearchEngineClass, finished), G_STRUCT_OFFSET (GtkSearchEngineClass, finished),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
signals[ERROR] = signals[ERROR] =

View File

@ -198,7 +198,7 @@ gtk_style_context_class_init (GtkStyleContextClass *klass)
G_SIGNAL_RUN_FIRST, G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkStyleContextClass, changed), G_STRUCT_OFFSET (GtkStyleContextClass, changed),
NULL, NULL, NULL, NULL,
g_cclosure_marshal_VOID__VOID, NULL,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
properties[PROP_DISPLAY] = properties[PROP_DISPLAY] =