summaryrefslogtreecommitdiff
path: root/gtk/gtktreednd.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-01 05:11:46 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-01 05:11:46 +0000
commit94eec042676a8e18cebc9af8f27cd251355f4ba4 (patch)
tree51b9ff698258fc9799413f62fb82589c8d525f0e /gtk/gtktreednd.c
parentf4bbe8f0deb8d1c36829acfc791d632d27805f30 (diff)
downloadgtk+-94eec042676a8e18cebc9af8f27cd251355f4ba4.tar.gz
Intern some more strings.
2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
Diffstat (limited to 'gtk/gtktreednd.c')
-rw-r--r--gtk/gtktreednd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktreednd.c b/gtk/gtktreednd.c
index 2431c950a2..4e5c2715d6 100644
--- a/gtk/gtktreednd.c
+++ b/gtk/gtktreednd.c
@@ -20,6 +20,7 @@
#include <config.h>
#include <string.h>
#include "gtktreednd.h"
+#include "gtkintl.h"
#include "gtkalias.h"
GType
@@ -42,7 +43,7 @@ gtk_tree_drag_source_get_type (void)
NULL
};
- our_type = g_type_register_static (G_TYPE_INTERFACE, g_intern_static_string ("GtkTreeDragSource"),
+ our_type = g_type_register_static (G_TYPE_INTERFACE, I_("GtkTreeDragSource"),
&our_info, 0);
}
@@ -70,7 +71,7 @@ gtk_tree_drag_dest_get_type (void)
NULL
};
- our_type = g_type_register_static (G_TYPE_INTERFACE, g_intern_static_string ("GtkTreeDragDest"), &our_info, 0);
+ our_type = g_type_register_static (G_TYPE_INTERFACE, I_("GtkTreeDragDest"), &our_info, 0);
}
return our_type;