summaryrefslogtreecommitdiff
path: root/gtk/gtkcalendar.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/gtkcalendar.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/gtkcalendar.c')
-rw-r--r--gtk/gtkcalendar.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c
index da319b1045..f274c63475 100644
--- a/gtk/gtkcalendar.c
+++ b/gtk/gtkcalendar.c
@@ -587,7 +587,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, month_changed),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -602,7 +602,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, day_selected),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -617,7 +617,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, day_selected_double_click),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -632,7 +632,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, prev_month),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -647,7 +647,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, next_month),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -662,7 +662,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, prev_year),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
/**
@@ -677,7 +677,7 @@ gtk_calendar_class_init (GtkCalendarClass *class)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkCalendarClass, next_year),
NULL, NULL,
- _gtk_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_CALENDAR);