diff options
author | Benjamin Otte <otte@redhat.com> | 2016-08-29 16:00:17 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-08-29 16:20:54 +0200 |
commit | e1a03ead7a541a2118816b1632e957cc2bb44c8f (patch) | |
tree | f3f1f5fafcdfb1fdff2f7420c5cb1216af71abe5 /gtk/gtktextbuffer.c | |
parent | 6af5033386b60bdf71cc21d99d579c2a8c389880 (diff) | |
download | gtk+-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/gtktextbuffer.c')
-rw-r--r-- | gtk/gtktextbuffer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index ef17e92381..644e2cfbb2 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -427,7 +427,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkTextBufferClass, changed), NULL, NULL, - _gtk_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); @@ -447,7 +447,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkTextBufferClass, modified_changed), NULL, NULL, - _gtk_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); @@ -496,7 +496,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkTextBufferClass, mark_deleted), NULL, NULL, - _gtk_marshal_VOID__OBJECT, + NULL, G_TYPE_NONE, 1, GTK_TYPE_TEXT_MARK); @@ -591,7 +591,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkTextBufferClass, begin_user_action), NULL, NULL, - _gtk_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); @@ -617,7 +617,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkTextBufferClass, end_user_action), NULL, NULL, - _gtk_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); @@ -638,7 +638,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkTextBufferClass, paste_done), NULL, NULL, - _gtk_marshal_VOID__OBJECT, + NULL, G_TYPE_NONE, 1, GTK_TYPE_CLIPBOARD); |