summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontext.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/gtkimcontext.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/gtkimcontext.c')
-rw-r--r--gtk/gtkimcontext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c
index 64f0f69d6e..5ca199f1d1 100644
--- a/gtk/gtkimcontext.c
+++ b/gtk/gtkimcontext.c
@@ -231,7 +231,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkIMContextClass, preedit_start),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
* GtkIMContext::preedit-end:
@@ -246,7 +246,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkIMContextClass, preedit_end),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
* GtkIMContext::preedit-changed:
@@ -263,7 +263,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkIMContextClass, preedit_changed),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
* GtkIMContext::commit:
@@ -280,7 +280,7 @@ gtk_im_context_class_init (GtkIMContextClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkIMContextClass, commit),
NULL, NULL,
- _gtk_marshal_VOID__STRING,
+ NULL,
G_TYPE_NONE, 1,
G_TYPE_STRING);
/**