diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-09-12 09:13:00 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-09-12 12:50:39 -0400 |
commit | 66f0bdee0adf422f23b5e0bb5addd6256958eb82 (patch) | |
tree | f6d1dc55558cdd1d56015c74e13b8d4f6e05613f /gtk/gtkprinteroptionset.c | |
parent | c8dcb690aacccf56d84195a2470da0aad74c9e29 (diff) | |
download | gtk+-66f0bdee0adf422f23b5e0bb5addd6256958eb82.tar.gz |
Intern all signal names beforehand
This avoids pointless allocations
Diffstat (limited to 'gtk/gtkprinteroptionset.c')
-rw-r--r-- | gtk/gtkprinteroptionset.c | 3 |
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), |