summaryrefslogtreecommitdiff
path: root/gtk/gtkimmodule.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2003-12-14 19:03:02 +0000
committerHans Breuer <hans@src.gnome.org>2003-12-14 19:03:02 +0000
commit4acd98a8365558d494b82c4be3e037993680f9f4 (patch)
tree54e16f4ba4223ff46279b1cdebc5f2306c09a04d /gtk/gtkimmodule.c
parent6857ba492925975b3e490e06b1d86c67cac49ca4 (diff)
downloadgtk+-4acd98a8365558d494b82c4be3e037993680f9f4.tar.gz
handle GTK_DATADIR similar as the other filesystem placement 'constants'
2003-12-14 Hans Breuer <hans@breuer.org> * gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR similar as the other filesystem placement 'constants' (dynamic resolving on win32) * gtk/gtkfilechooserwidget.c : handle file system to win32 renaming here as will * gtk/gtkfilesystemwin32.c : implement render_icon * gtk/gtk.def gdk/gdk.def : updated externals * gdk/win32/gdkdisplay-win32.c : make it compile without <multimon.h> - i.e. even older sdk * gdk/win32/gdkevents-win32.c : match resize_timer_proc with TIMERPROC prototype * gdk/win32/gdkwindow-win32.c : older msvc does not know BITMAPV5HEADER (from win xp) either * gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is not defined * tests/testfilechooser.c : recent GLib crashes on g_print ("%s", NULL) so avoid this
Diffstat (limited to 'gtk/gtkimmodule.c')
-rw-r--r--gtk/gtkimmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 4af34a0786..c68644332f 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -418,7 +418,11 @@ _gtk_im_module_list (const GtkIMContextInfo ***contexts,
SIMPLE_ID,
N_("Default"),
GETTEXT_PACKAGE,
+#ifdef GTK_LOCALEDIR
GTK_LOCALEDIR,
+#else
+ "",
+#endif
""
};