summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.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/gtkfilesystem.c
parentc8dcb690aacccf56d84195a2470da0aad74c9e29 (diff)
downloadgtk+-66f0bdee0adf422f23b5e0bb5addd6256958eb82.tar.gz
Intern all signal names beforehand
This avoids pointless allocations
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 4ed028f432..09601bd261 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -29,6 +29,7 @@
#include "gtkfilesystem.h"
#include "gtkicontheme.h"
#include "gtkprivate.h"
+#include "gtkintl.h"
/* #define DEBUG_MODE */
#ifdef DEBUG_MODE
@@ -142,7 +143,7 @@ _gtk_file_system_class_init (GtkFileSystemClass *class)
object_class->dispose = gtk_file_system_dispose;
fs_signals[VOLUMES_CHANGED] =
- g_signal_new ("volumes-changed",
+ g_signal_new (I_("volumes-changed"),
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileSystemClass, volumes_changed),