Intern all signal names beforehand

This avoids pointless allocations
This commit is contained in:
Matthias Clasen
2015-09-12 09:13:00 -04:00
parent c8dcb690aa
commit 66f0bdee0a
26 changed files with 77 additions and 69 deletions

View File

@ -89,7 +89,7 @@ gtk_printer_option_class_init (GtkPrinterOptionClass *class)
gobject_class->get_property = gtk_printer_option_get_property;
signals[CHANGED] =
g_signal_new ("changed",
g_signal_new (I_("changed"),
G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrinterOptionClass, changed),