Commit 6033b645 authored by Christian Hergert's avatar Christian Hergert

va_marshaller: add various va_marshallers

We don't need to cover every case with a va_marshaller, but there are a
number of them that are useful because they will often only be connected
to by a single signal handler.

Generally speaking, if I opened into a file to add a va_marshaller, I just
set all of them.
parent 44cdb20c
Pipeline #85645 passed with stage
in 10 minutes and 37 seconds
......@@ -449,6 +449,7 @@ gdkenumtypes.c: $(gdk_h_sources) gdkenumtypes.c.template
gdkmarshalers.h: gdkmarshalers.list
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
--prefix=_gdk_marshal \
--valist-marshallers \
--header \
$(srcdir)/gdkmarshalers.list > gdkmarshalers-h.tmp \
&& mv gdkmarshalers-h.tmp gdkmarshalers.h \
......@@ -456,6 +457,7 @@ gdkmarshalers.h: gdkmarshalers.list
gdkmarshalers.c: gdkmarshalers.list
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
--prefix=_gdk_marshal \
--valist-marshallers \
--body \
$(srcdir)/gdkmarshalers.list > gdkmarshalers-c.tmp \
&& mv gdkmarshalers-c.tmp gdkmarshalers.c \
......
......@@ -196,6 +196,9 @@ gdk_display_class_init (GdkDisplayClass *class)
G_TYPE_NONE,
1,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (signals[CLOSED],
G_OBJECT_CLASS_TYPE (object_class),
_gdk_marshal_VOID__BOOLEANv);
/**
* GdkDisplay::seat-added:
......
......@@ -162,6 +162,9 @@ gdk_display_manager_class_init (GdkDisplayManagerClass *klass)
G_TYPE_NONE,
1,
GDK_TYPE_DISPLAY);
g_signal_set_va_marshaller (signals[DISPLAY_OPENED],
G_TYPE_FROM_CLASS (klass),
_gdk_marshal_VOID__OBJECTv);
g_object_class_install_property (object_class,
PROP_DEFAULT_DISPLAY,
......
......@@ -382,6 +382,9 @@ gdk_window_class_init (GdkWindowClass *klass)
2,
G_TYPE_DOUBLE,
G_TYPE_DOUBLE);
g_signal_set_va_marshaller (signals[PICK_EMBEDDED_CHILD],
G_OBJECT_CLASS_TYPE (object_class),
_gdk_marshal_OBJECT__DOUBLE_DOUBLEv);
/**
* GdkWindow::to-embedder:
......@@ -413,6 +416,9 @@ gdk_window_class_init (GdkWindowClass *klass)
G_TYPE_DOUBLE,
G_TYPE_POINTER,
G_TYPE_POINTER);
g_signal_set_va_marshaller (signals[TO_EMBEDDER],
G_OBJECT_CLASS_TYPE (object_class),
_gdk_marshal_VOID__DOUBLE_DOUBLE_POINTER_POINTERv);
/**
* GdkWindow::from-embedder:
......@@ -444,6 +450,9 @@ gdk_window_class_init (GdkWindowClass *klass)
G_TYPE_DOUBLE,
G_TYPE_POINTER,
G_TYPE_POINTER);
g_signal_set_va_marshaller (signals[FROM_EMBEDDER],
G_OBJECT_CLASS_TYPE (object_class),
_gdk_marshal_VOID__DOUBLE_DOUBLE_POINTER_POINTERv);
/**
* GdkWindow::create-surface:
......@@ -477,6 +486,9 @@ gdk_window_class_init (GdkWindowClass *klass)
2,
G_TYPE_INT,
G_TYPE_INT);
g_signal_set_va_marshaller (signals[CREATE_SURFACE],
G_OBJECT_CLASS_TYPE (object_class),
_gdk_marshal_BOXED__INT_INTv);
/**
* GdkWindow::moved-to-rect:
......@@ -517,6 +529,9 @@ gdk_window_class_init (GdkWindowClass *klass)
G_TYPE_POINTER,
G_TYPE_BOOLEAN,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (signals[MOVED_TO_RECT],
G_OBJECT_CLASS_TYPE (object_class),
_gdk_marshal_VOID__POINTER_POINTER_BOOLEAN_BOOLEANv);
}
static void
......
......@@ -282,6 +282,9 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
G_TYPE_NONE, 2,
GTK_TYPE_CELL_EDITABLE,
G_TYPE_STRING);
g_signal_set_va_marshaller (cell_renderer_signals[EDITING_STARTED],
G_TYPE_FROM_CLASS (object_class),
_gtk_marshal_VOID__OBJECT_STRINGv);
g_object_class_install_property (object_class,
PROP_MODE,
......
......@@ -204,6 +204,9 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass)
G_TYPE_NONE, 2,
G_TYPE_STRING,
GTK_TYPE_TREE_ITER);
g_signal_set_va_marshaller (cell_renderer_combo_signals[CHANGED],
G_TYPE_FROM_CLASS (object_class),
_gtk_marshal_VOID__STRING_BOXEDv);
}
static void
......
......@@ -689,6 +689,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
G_TYPE_STRING,
G_TYPE_STRING);
g_signal_set_va_marshaller (text_cell_renderer_signals [EDITED],
G_OBJECT_CLASS_TYPE (object_class),
_gtk_marshal_VOID__STRING_STRINGv);
gtk_cell_renderer_class_set_accessible_type (cell_class, GTK_TYPE_TEXT_CELL_ACCESSIBLE);
}
......
......@@ -74,6 +74,14 @@
static void gtk_editable_base_init (gpointer g_class);
enum {
CHANGED,
DELETE_TEXT,
INSERT_TEXT,
N_SIGNALS
};
static guint signals[N_SIGNALS];
GType
gtk_editable_get_type (void)
......@@ -122,16 +130,20 @@ gtk_editable_base_init (gpointer g_class)
* is possible to modify the inserted text, or prevent
* it from being inserted entirely.
*/
g_signal_new (I_("insert-text"),
GTK_TYPE_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEditableInterface, insert_text),
NULL, NULL,
_gtk_marshal_VOID__STRING_INT_POINTER,
G_TYPE_NONE, 3,
G_TYPE_STRING,
G_TYPE_INT,
G_TYPE_POINTER);
signals[INSERT_TEXT] =
g_signal_new (I_("insert-text"),
GTK_TYPE_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEditableInterface, insert_text),
NULL, NULL,
_gtk_marshal_VOID__STRING_INT_POINTER,
G_TYPE_NONE, 3,
G_TYPE_STRING,
G_TYPE_INT,
G_TYPE_POINTER);
g_signal_set_va_marshaller (signals[INSERT_TEXT],
G_TYPE_FROM_CLASS (g_class),
_gtk_marshal_VOID__STRING_INT_POINTERv);
/**
* GtkEditable::delete-text:
......@@ -149,15 +161,19 @@ gtk_editable_base_init (gpointer g_class)
* and @end_pos parameters are interpreted as for
* gtk_editable_delete_text().
*/
g_signal_new (I_("delete-text"),
GTK_TYPE_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEditableInterface, delete_text),
NULL, NULL,
_gtk_marshal_VOID__INT_INT,
G_TYPE_NONE, 2,
G_TYPE_INT,
G_TYPE_INT);
signals[DELETE_TEXT] =
g_signal_new (I_("delete-text"),
GTK_TYPE_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEditableInterface, delete_text),
NULL, NULL,
_gtk_marshal_VOID__INT_INT,
G_TYPE_NONE, 2,
G_TYPE_INT,
G_TYPE_INT);
g_signal_set_va_marshaller (signals[DELETE_TEXT],
G_TYPE_FROM_CLASS (g_class),
_gtk_marshal_VOID__INT_INTv);
/**
* GtkEditable::changed:
* @editable: the object which received the signal
......@@ -171,13 +187,14 @@ gtk_editable_base_init (gpointer g_class)
* the new content, and may cause multiple ::notify::text signals
* to be emitted).
*/
g_signal_new (I_("changed"),
GTK_TYPE_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEditableInterface, changed),
NULL, NULL,
NULL,
G_TYPE_NONE, 0);
signals[CHANGED] =
g_signal_new (I_("changed"),
GTK_TYPE_EDITABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEditableInterface, changed),
NULL, NULL,
NULL,
G_TYPE_NONE, 0);
initialized = TRUE;
}
......
......@@ -405,8 +405,11 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
GTK_TYPE_EVENT_CONTROLLER_SCROLL,
G_SIGNAL_RUN_FIRST,
0, NULL, NULL,
_gtk_marshal_VOID__DOUBLE_DOUBLE,
_gtk_marshal_VOID__DOUBLE_DOUBLE,
G_TYPE_NONE, 2, G_TYPE_DOUBLE, G_TYPE_DOUBLE);
g_signal_set_va_marshaller (signals[SCROLL],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__DOUBLE_DOUBLEv);
/**
* GtkEventControllerScroll::scroll-end:
* @controller: The object that received the signal
......@@ -438,8 +441,11 @@ gtk_event_controller_scroll_class_init (GtkEventControllerScrollClass *klass)
GTK_TYPE_EVENT_CONTROLLER_SCROLL,
G_SIGNAL_RUN_FIRST,
0, NULL, NULL,
_gtk_marshal_VOID__DOUBLE_DOUBLE,
_gtk_marshal_VOID__DOUBLE_DOUBLE,
G_TYPE_NONE, 2, G_TYPE_DOUBLE, G_TYPE_DOUBLE);
g_signal_set_va_marshaller (signals[DECELERATE],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__DOUBLE_DOUBLEv);
g_object_class_install_properties (object_class, N_PROPS, pspecs);
}
......
......@@ -4012,6 +4012,9 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
_gtk_marshal_BOOLEAN__ENUM_INT,
G_TYPE_BOOLEAN, 2,
GTK_TYPE_MOVEMENT_STEP, G_TYPE_INT);
g_signal_set_va_marshaller (signals[MOVE_CURSOR],
G_TYPE_FROM_CLASS (class),
_gtk_marshal_BOOLEAN__ENUM_INTv);
/**
* GtkFlowBox::select-all:
* @box: the #GtkFlowBox on which the signal is emitted
......
......@@ -859,6 +859,9 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
NULL, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (icon_view_signals[ACTIVATE_CURSOR_ITEM],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__VOIDv);
/**
* GtkIconView::move-cursor:
......@@ -891,6 +894,9 @@ gtk_icon_view_class_init (GtkIconViewClass *klass)
G_TYPE_BOOLEAN, 2,
GTK_TYPE_MOVEMENT_STEP,
G_TYPE_INT);
g_signal_set_va_marshaller (icon_view_signals[MOVE_CURSOR],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__ENUM_INTv);
/* Key bindings */
gtk_binding_entry_add_signal (binding_set, GDK_KEY_a, GDK_CONTROL_MASK,
......
......@@ -302,6 +302,9 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
_gtk_boolean_handled_accumulator, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (im_context_signals[RETRIEVE_SURROUNDING],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__VOIDv);
/**
* GtkIMContext::delete-surrounding:
* @context: the object on which the signal is emitted
......@@ -324,7 +327,10 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
_gtk_marshal_BOOLEAN__INT_INT,
G_TYPE_BOOLEAN, 2,
G_TYPE_INT,
G_TYPE_INT);
G_TYPE_INT);
g_signal_set_va_marshaller (im_context_signals[DELETE_SURROUNDING],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__INT_INTv);
properties[PROP_INPUT_PURPOSE] =
g_param_spec_enum ("input-purpose",
......
......@@ -615,6 +615,9 @@ gtk_list_box_class_init (GtkListBoxClass *klass)
_gtk_marshal_VOID__ENUM_INT,
G_TYPE_NONE, 2,
GTK_TYPE_MOVEMENT_STEP, G_TYPE_INT);
g_signal_set_va_marshaller (signals[MOVE_CURSOR],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__ENUM_INTv);
widget_class->activate_signal = signals[ACTIVATE_CURSOR_ROW];
......
......@@ -58,6 +58,7 @@ VOID:DOUBLE,DOUBLE
VOID:BOOLEAN,BOOLEAN,BOOLEAN
VOID:BOXED,BOXED
VOID:BOXED,BOXED,POINTER
VOID:BOXED,ENUM
VOID:BOXED,OBJECT
VOID:BOXED,STRING,INT
VOID:BOXED,UINT
......
......@@ -1049,6 +1049,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_TYPE_NONE, 2,
GTK_TYPE_WIDGET,
G_TYPE_UINT);
g_signal_set_va_marshaller (notebook_signals[SWITCH_PAGE],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_VOID__OBJECT_UINTv);
notebook_signals[FOCUS_TAB] =
g_signal_new (I_("focus-tab"),
G_TYPE_FROM_CLASS (gobject_class),
......@@ -1058,6 +1061,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
_gtk_marshal_BOOLEAN__ENUM,
G_TYPE_BOOLEAN, 1,
GTK_TYPE_NOTEBOOK_TAB);
g_signal_set_va_marshaller (notebook_signals[FOCUS_TAB],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_BOOLEAN__ENUMv);
notebook_signals[SELECT_PAGE] =
g_signal_new (I_("select-page"),
G_TYPE_FROM_CLASS (gobject_class),
......@@ -1067,6 +1073,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
_gtk_marshal_BOOLEAN__BOOLEAN,
G_TYPE_BOOLEAN, 1,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (notebook_signals[SELECT_PAGE],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_BOOLEAN__BOOLEANv);
notebook_signals[CHANGE_CURRENT_PAGE] =
g_signal_new (I_("change-current-page"),
G_TYPE_FROM_CLASS (gobject_class),
......@@ -1076,6 +1085,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
_gtk_marshal_BOOLEAN__INT,
G_TYPE_BOOLEAN, 1,
G_TYPE_INT);
g_signal_set_va_marshaller (notebook_signals[CHANGE_CURRENT_PAGE],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_BOOLEAN__INTv);
notebook_signals[MOVE_FOCUS_OUT] =
g_signal_new (I_("move-focus-out"),
G_TYPE_FROM_CLASS (gobject_class),
......@@ -1095,6 +1107,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_TYPE_BOOLEAN, 2,
GTK_TYPE_DIRECTION_TYPE,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (notebook_signals[REORDER_TAB],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_BOOLEAN__ENUM_BOOLEANv);
/**
* GtkNotebook::page-reordered:
* @notebook: the #GtkNotebook
......@@ -1116,6 +1131,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_TYPE_NONE, 2,
GTK_TYPE_WIDGET,
G_TYPE_UINT);
g_signal_set_va_marshaller (notebook_signals[PAGE_REORDERED],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_VOID__OBJECT_UINTv);
/**
* GtkNotebook::page-removed:
* @notebook: the #GtkNotebook
......@@ -1137,6 +1155,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_TYPE_NONE, 2,
GTK_TYPE_WIDGET,
G_TYPE_UINT);
g_signal_set_va_marshaller (notebook_signals[PAGE_REMOVED],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_VOID__OBJECT_UINTv);
/**
* GtkNotebook::page-added:
* @notebook: the #GtkNotebook
......@@ -1158,6 +1179,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_TYPE_NONE, 2,
GTK_TYPE_WIDGET,
G_TYPE_UINT);
g_signal_set_va_marshaller (notebook_signals[PAGE_ADDED],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_VOID__OBJECT_UINTv);
/**
* GtkNotebook::create-window:
......@@ -1189,6 +1213,9 @@ gtk_notebook_class_init (GtkNotebookClass *class)
_gtk_marshal_OBJECT__OBJECT_INT_INT,
GTK_TYPE_NOTEBOOK, 3,
GTK_TYPE_WIDGET, G_TYPE_INT, G_TYPE_INT);
g_signal_set_va_marshaller (notebook_signals[CREATE_WINDOW],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_OBJECT__OBJECT_INT_INTv);
binding_set = gtk_binding_set_by_class (class);
gtk_binding_entry_add_signal (binding_set,
......
......@@ -827,6 +827,9 @@ gtk_overlay_class_init (GtkOverlayClass *klass)
G_TYPE_BOOLEAN, 2,
GTK_TYPE_WIDGET,
GDK_TYPE_RECTANGLE | G_SIGNAL_TYPE_STATIC_SCOPE);
g_signal_set_va_marshaller (signals[GET_CHILD_POSITION],
G_TYPE_FROM_CLASS (object_class),
_gtk_marshal_BOOLEAN__OBJECT_BOXEDv);
gtk_widget_class_set_css_name (widget_class, "overlay");
}
......
......@@ -997,6 +997,9 @@ gtk_switch_class_init (GtkSwitchClass *klass)
_gtk_marshal_BOOLEAN__BOOLEAN,
G_TYPE_BOOLEAN, 1,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (signals[STATE_SET],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_BOOLEAN__BOOLEANv);
g_object_class_override_property (gobject_class, PROP_ACTION_NAME, "action-name");
g_object_class_override_property (gobject_class, PROP_ACTION_TARGET, "action-target");
......
......@@ -116,6 +116,9 @@ gtk_text_tag_table_class_init (GtkTextTagTableClass *klass)
2,
GTK_TYPE_TEXT_TAG,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (signals[TAG_CHANGED],
G_OBJECT_CLASS_TYPE (object_class),
_gtk_marshal_VOID__OBJECT_BOOLEANv);
/**
* GtkTextTagTable::tag-added:
......
......@@ -1126,6 +1126,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
GTK_TYPE_MOVEMENT_STEP,
G_TYPE_INT,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (signals[MOVE_CURSOR],
G_OBJECT_CLASS_TYPE (gobject_class),
_gtk_marshal_VOID__ENUM_INT_BOOLEANv);
/**
* GtkTextView::move-viewport:
......@@ -1151,6 +1154,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
GTK_TYPE_SCROLL_STEP,
G_TYPE_INT);
g_signal_set_va_marshaller (signals[MOVE_VIEWPORT],
G_OBJECT_CLASS_TYPE (gobject_class),
_gtk_marshal_VOID__ENUM_INTv);
/**
* GtkTextView::set-anchor:
......@@ -1224,6 +1230,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
GTK_TYPE_DELETE_TYPE,
G_TYPE_INT);
g_signal_set_va_marshaller (signals[DELETE_FROM_CURSOR],
G_OBJECT_CLASS_TYPE (gobject_class),
_gtk_marshal_VOID__ENUM_INTv);
/**
* GtkTextView::backspace:
......
......@@ -365,6 +365,9 @@ gtk_tree_model_base_init (gpointer g_class)
G_TYPE_NONE, 2,
GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_TREE_ITER);
g_signal_set_va_marshaller (tree_model_signals[ROW_CHANGED],
G_TYPE_FROM_CLASS (g_class),
_gtk_marshal_VOID__BOXED_BOXEDv);
/* We need to get notification about structure changes
* to update row references., so instead of using the
......@@ -403,6 +406,9 @@ gtk_tree_model_base_init (gpointer g_class)
_gtk_marshal_VOID__BOXED_BOXED,
G_TYPE_NONE, 2,
row_inserted_params);
g_signal_set_va_marshaller (tree_model_signals[ROW_INSERTED],
G_TYPE_FROM_CLASS (g_class),
_gtk_marshal_VOID__BOXED_BOXEDv);
/**
* GtkTreeModel::row-has-child-toggled:
......@@ -423,6 +429,9 @@ gtk_tree_model_base_init (gpointer g_class)
G_TYPE_NONE, 2,
GTK_TYPE_TREE_PATH | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_TREE_ITER);
g_signal_set_va_marshaller (tree_model_signals[ROW_HAS_CHILD_TOGGLED],
G_TYPE_FROM_CLASS (g_class),
_gtk_marshal_VOID__BOXED_BOXEDv);
/**
* GtkTreeModel::row-deleted:
......@@ -479,6 +488,9 @@ gtk_tree_model_base_init (gpointer g_class)
_gtk_marshal_VOID__BOXED_BOXED_POINTER,
G_TYPE_NONE, 3,
rows_reordered_params);
g_signal_set_va_marshaller (tree_model_signals[ROWS_REORDERED],
G_TYPE_FROM_CLASS (g_class),
_gtk_marshal_VOID__BOXED_BOXED_POINTERv);
initialized = TRUE;
}
}
......
......@@ -1333,6 +1333,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
GTK_TYPE_TREE_PATH,
GTK_TYPE_TREE_VIEW_COLUMN);
g_signal_set_va_marshaller (tree_view_signals[ROW_ACTIVATED],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_VOID__BOXED_OBJECTv);
/**
* GtkTreeView::test-expand-row:
......@@ -1355,6 +1358,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_BOOLEAN, 2,
GTK_TYPE_TREE_ITER,
GTK_TYPE_TREE_PATH);
g_signal_set_va_marshaller (tree_view_signals[TEST_EXPAND_ROW],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__BOXED_BOXEDv);
/**
* GtkTreeView::test-collapse-row:
......@@ -1377,6 +1383,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_BOOLEAN, 2,
GTK_TYPE_TREE_ITER,
GTK_TYPE_TREE_PATH);
g_signal_set_va_marshaller (tree_view_signals[TEST_COLLAPSE_ROW],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__BOXED_BOXEDv);
/**
* GtkTreeView::row-expanded:
......@@ -1396,6 +1405,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
GTK_TYPE_TREE_ITER,
GTK_TYPE_TREE_PATH);
g_signal_set_va_marshaller (tree_view_signals[ROW_EXPANDED],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_VOID__BOXED_BOXEDv);
/**
* GtkTreeView::row-collapsed:
......@@ -1415,6 +1427,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
GTK_TYPE_TREE_ITER,
GTK_TYPE_TREE_PATH);
g_signal_set_va_marshaller (tree_view_signals[ROW_COLLAPSED],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_VOID__BOXED_BOXEDv);
/**
* GtkTreeView::columns-changed:
......@@ -1481,6 +1496,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_BOOLEAN, 2,
GTK_TYPE_MOVEMENT_STEP,
G_TYPE_INT);
g_signal_set_va_marshaller (tree_view_signals[MOVE_CURSOR],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__ENUM_INTv);
tree_view_signals[SELECT_ALL] =
g_signal_new (I_("select-all"),
......@@ -1490,6 +1508,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
NULL, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (tree_view_signals[SELECT_ALL],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__VOIDv);
tree_view_signals[UNSELECT_ALL] =
g_signal_new (I_("unselect-all"),
......@@ -1499,6 +1520,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
NULL, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (tree_view_signals[UNSELECT_ALL],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__VOIDv);
tree_view_signals[SELECT_CURSOR_ROW] =
g_signal_new (I_("select-cursor-row"),
......@@ -1509,6 +1533,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_gtk_marshal_BOOLEAN__BOOLEAN,
G_TYPE_BOOLEAN, 1,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (tree_view_signals[SELECT_CURSOR_ROW],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__BOOLEANv);
tree_view_signals[TOGGLE_CURSOR_ROW] =
g_signal_new (I_("toggle-cursor-row"),
......@@ -1518,6 +1545,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
NULL, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (tree_view_signals[TOGGLE_CURSOR_ROW],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__VOIDv);
tree_view_signals[EXPAND_COLLAPSE_CURSOR_ROW] =
g_signal_new (I_("expand-collapse-cursor-row"),
......@@ -1530,6 +1560,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_BOOLEAN,
G_TYPE_BOOLEAN,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (tree_view_signals[EXPAND_COLLAPSE_CURSOR_ROW],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__BOOLEAN_BOOLEAN_BOOLEANv);
tree_view_signals[SELECT_CURSOR_PARENT] =
g_signal_new (I_("select-cursor-parent"),
......@@ -1539,6 +1572,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
NULL, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (tree_view_signals[SELECT_CURSOR_PARENT],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__VOIDv);
tree_view_signals[START_INTERACTIVE_SEARCH] =
g_signal_new (I_("start-interactive-search"),
......@@ -1548,6 +1584,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
NULL, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (tree_view_signals[START_INTERACTIVE_SEARCH],
G_TYPE_FROM_CLASS (o_class),
_gtk_marshal_BOOLEAN__VOIDv);
/* Key bindings */
gtk_tree_view_add_move_binding (binding_set, GDK_KEY_Up, 0, TRUE,
......
......@@ -2035,6 +2035,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_gtk_marshal_BOOLEAN__BOOLEAN,
G_TYPE_BOOLEAN, 1,
G_TYPE_BOOLEAN);
g_signal_set_va_marshaller (widget_signals[MNEMONIC_ACTIVATE],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_BOOLEAN__BOOLEANv);
/**
* GtkWidget::grab-focus:
......@@ -2065,6 +2068,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_gtk_marshal_BOOLEAN__ENUM,
G_TYPE_BOOLEAN, 1,
GTK_TYPE_DIRECTION_TYPE);
g_signal_set_va_marshaller (widget_signals[FOCUS],
G_TYPE_FROM_CLASS (gobject_class),
_gtk_marshal_BOOLEAN__ENUMv);
/**
* GtkWidget::move-focus:
......@@ -2105,6 +2111,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_gtk_marshal_BOOLEAN__ENUM,
G_TYPE_BOOLEAN, 1,
GTK_TYPE_DIRECTION_TYPE);
g_signal_set_va_marshaller (widget_signals[KEYNAV_FAILED],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__ENUMv);
/**
* GtkWidget::event:
......@@ -2718,6 +2727,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE,
G_TYPE_UINT);
g_signal_set_va_marshaller (widget_signals[SELECTION_RECEIVED],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__BOXED_UINTv);
/**
* GtkWidget::selection-get:
......@@ -2737,6 +2749,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE,
G_TYPE_UINT,
G_TYPE_UINT);
g_signal_set_va_marshaller (widget_signals[SELECTION_GET],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__BOXED_UINT_UINTv);
/**
* GtkWidget::proximity-in-event:
......@@ -2816,6 +2831,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_NONE, 2,
GDK_TYPE_DRAG_CONTEXT,
G_TYPE_UINT);
g_signal_set_va_marshaller (widget_signals[DRAG_LEAVE],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__OBJECT_UINTv);
/**
* GtkWidget::drag-begin:
......@@ -2905,6 +2923,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_BOOLEAN, 2,
GDK_TYPE_DRAG_CONTEXT,
GTK_TYPE_DRAG_RESULT);
g_signal_set_va_marshaller (widget_signals[DRAG_FAILED],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__OBJECT_ENUMv);
/**
* GtkWidget::drag-motion:
......@@ -3015,6 +3036,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_INT,
G_TYPE_INT,
G_TYPE_UINT);
g_signal_set_va_marshaller (widget_signals[DRAG_MOTION],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINTv);
/**
* GtkWidget::drag-drop:
......@@ -3049,6 +3073,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_INT,
G_TYPE_INT,
G_TYPE_UINT);
g_signal_set_va_marshaller (widget_signals[DRAG_DROP],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINTv);
/**
* GtkWidget::drag-data-get:
......@@ -3077,6 +3104,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE,
G_TYPE_UINT,
G_TYPE_UINT);
g_signal_set_va_marshaller (widget_signals[DRAG_DATA_GET],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__OBJECT_BOXED_UINT_UINTv);
/**
* GtkWidget::drag-data-received:
......@@ -3164,6 +3194,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
GTK_TYPE_SELECTION_DATA | G_SIGNAL_TYPE_STATIC_SCOPE,
G_TYPE_UINT,
G_TYPE_UINT);
g_signal_set_va_marshaller (widget_signals[DRAG_DATA_RECEIVED],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_VOID__OBJECT_INT_INT_BOXED_UINT_UINTv);
/**
* GtkWidget::visibility-notify-event:
......@@ -3194,6 +3227,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_gtk_marshal_BOOLEAN__BOXED,
G_TYPE_BOOLEAN, 1,
GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
g_signal_set_va_marshaller (widget_signals[VISIBILITY_NOTIFY_EVENT],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__BOXEDv);
/**
* GtkWidget::window-state-event:
......@@ -3317,6 +3353,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_TYPE_INT,
G_TYPE_BOOLEAN,
GTK_TYPE_TOOLTIP);
g_signal_set_va_marshaller (widget_signals[QUERY_TOOLTIP],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__INT_INT_BOOLEAN_OBJECTv);
/**
* GtkWidget::popup-menu:
......@@ -3340,6 +3379,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_gtk_boolean_handled_accumulator, NULL,
_gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0);
g_signal_set_va_marshaller (widget_signals[POPUP_MENU],
G_TYPE_FROM_CLASS (klass),
_gtk_marshal_BOOLEAN__VOIDv);
/**
* GtkWidget::show-help:
......@@ -3358,6 +3400,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS
_gtk_marshal_BOOLEAN__ENUM,
G_TYPE_BOOLEAN, 1,
GTK_TYPE_WIDGET_HELP_TYPE);