summaryrefslogtreecommitdiff
path: root/gtk/gtksearchentry.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/gtksearchentry.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/gtksearchentry.c')
-rw-r--r--gtk/gtksearchentry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index 64c31a2ea4..ef725ea1aa 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -178,7 +178,7 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkSearchEntryClass, search_changed),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -202,7 +202,7 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkSearchEntryClass, next_match),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -226,7 +226,7 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkSearchEntryClass, previous_match),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -249,7 +249,7 @@ gtk_search_entry_class_init (GtkSearchEntryClass *klass)
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkSearchEntryClass, stop_search),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
binding_set = gtk_binding_set_by_class (klass);