summaryrefslogtreecommitdiff
path: root/gtk/gtkgesture.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-09-12 09:13:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-09-12 12:50:39 -0400
commit66f0bdee0adf422f23b5e0bb5addd6256958eb82 (patch)
treef6d1dc55558cdd1d56015c74e13b8d4f6e05613f /gtk/gtkgesture.c
parentc8dcb690aacccf56d84195a2470da0aad74c9e29 (diff)
downloadgtk+-66f0bdee0adf422f23b5e0bb5addd6256958eb82.tar.gz
Intern all signal names beforehand
This avoids pointless allocations
Diffstat (limited to 'gtk/gtkgesture.c')
-rw-r--r--gtk/gtkgesture.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index f3556de718..cb0fbbe80b 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -899,7 +899,7 @@ gtk_gesture_class_init (GtkGestureClass *klass)
* Since: 3.14
*/
signals[BEGIN] =
- g_signal_new ("begin",
+ g_signal_new (I_("begin"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkGestureClass, begin),
@@ -923,7 +923,7 @@ gtk_gesture_class_init (GtkGestureClass *klass)
* Since: 3.14
*/
signals[END] =
- g_signal_new ("end",
+ g_signal_new (I_("end"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkGestureClass, end),
@@ -940,7 +940,7 @@ gtk_gesture_class_init (GtkGestureClass *klass)
* Since: 3.14
*/
signals[UPDATE] =
- g_signal_new ("update",
+ g_signal_new (I_("update"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkGestureClass, update),
@@ -961,7 +961,7 @@ gtk_gesture_class_init (GtkGestureClass *klass)
* Since: 3.14
*/
signals[CANCEL] =
- g_signal_new ("cancel",
+ g_signal_new (I_("cancel"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkGestureClass, cancel),
@@ -980,7 +980,7 @@ gtk_gesture_class_init (GtkGestureClass *klass)
* Since: 3.14
*/
signals[SEQUENCE_STATE_CHANGED] =
- g_signal_new ("sequence-state-changed",
+ g_signal_new (I_("sequence-state-changed"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkGestureClass, sequence_state_changed),