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.
This commit is contained in:
Christian Hergert
2019-05-31 15:49:32 -07:00
parent 44cdb20c10
commit 6033b6457b
22 changed files with 244 additions and 29 deletions

View File

@ -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,