summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserembed.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-08-29 16:00:17 +0200
committerBenjamin Otte <otte@redhat.com>2016-08-29 16:20:54 +0200
commite1a03ead7a541a2118816b1632e957cc2bb44c8f (patch)
treef3f1f5fafcdfb1fdff2f7420c5cb1216af71abe5 /gtk/gtkfilechooserembed.c
parent6af5033386b60bdf71cc21d99d579c2a8c389880 (diff)
downloadgtk+-e1a03ead7a541a2118816b1632e957cc2bb44c8f.tar.gz
Use NULL for generic marshallers in g_signal_new()
glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller.
Diffstat (limited to 'gtk/gtkfilechooserembed.c')
-rw-r--r--gtk/gtkfilechooserembed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserembed.c b/gtk/gtkfilechooserembed.c
index 336c2b3a45..7c64f37961 100644
--- a/gtk/gtkfilechooserembed.c
+++ b/gtk/gtkfilechooserembed.c
@@ -154,14 +154,14 @@ gtk_file_chooser_embed_class_init (gpointer g_iface)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserEmbedIface, default_size_changed),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
g_signal_new (I_("response-requested"),
iface_type,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileChooserEmbedIface, response_requested),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
}