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/gtkadjustment.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/gtkadjustment.c')
-rw-r--r-- | gtk/gtkadjustment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkadjustment.c b/gtk/gtkadjustment.c index 4c0f6aff42..423f88fda4 100644 --- a/gtk/gtkadjustment.c +++ b/gtk/gtkadjustment.c @@ -241,7 +241,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE, G_STRUCT_OFFSET (GtkAdjustmentClass, changed), NULL, NULL, - _gtk_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); /** @@ -256,7 +256,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE, G_STRUCT_OFFSET (GtkAdjustmentClass, value_changed), NULL, NULL, - _gtk_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); } |