summaryrefslogtreecommitdiff
path: root/gtk/gtkprinteroptionset.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/gtkprinteroptionset.c
parentc8dcb690aacccf56d84195a2470da0aad74c9e29 (diff)
downloadgtk+-66f0bdee0adf422f23b5e0bb5addd6256958eb82.tar.gz
Intern all signal names beforehand
This avoids pointless allocations
Diffstat (limited to 'gtk/gtkprinteroptionset.c')
-rw-r--r--gtk/gtkprinteroptionset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkprinteroptionset.c b/gtk/gtkprinteroptionset.c
index b063445b58..5748565c7f 100644
--- a/gtk/gtkprinteroptionset.c
+++ b/gtk/gtkprinteroptionset.c
@@ -22,6 +22,7 @@
#include <gmodule.h>
#include "gtkprinteroptionset.h"
+#include "gtkintl.h"
/*****************************************
* GtkPrinterOptionSet *
@@ -66,7 +67,7 @@ gtk_printer_option_set_class_init (GtkPrinterOptionSetClass *class)
gobject_class->finalize = gtk_printer_option_set_finalize;
signals[CHANGED] =
- g_signal_new ("changed",
+ g_signal_new (I_("changed"),
G_TYPE_FROM_CLASS (gobject_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrinterOptionSetClass, changed),