summaryrefslogtreecommitdiff
path: root/gtk/gtkthemes.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@src.gnome.org>1999-07-14 23:30:15 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-07-14 23:30:15 +0000
commit38aa9a941b6a2073ec728782359997b4902763ab (patch)
tree3af7ec36c8de9cc5ef89d55bd342d8a699a422df /gtk/gtkthemes.c
parent7d03e87069b320cb15d04a9b3c1a394f9acccb3c (diff)
downloadgtk+-38aa9a941b6a2073ec728782359997b4902763ab.tar.gz
Implement it. Obscure bit manipulation needed.
* gdk/win32/gdkcursor.c (gdk_cursor_new_from_pixmap): Implement it. Obscure bit manipulation needed. * gdk/win32/gdkevents.c: Logging. * gtk/gtkthemes.c (gtk_theme_engine_get): (Win32) Use new DLL naming style (file name include compiler name) for theme engines.
Diffstat (limited to 'gtk/gtkthemes.c')
-rw-r--r--gtk/gtkthemes.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtkthemes.c b/gtk/gtkthemes.c
index e39646de8e..6ac188806b 100644
--- a/gtk/gtkthemes.c
+++ b/gtk/gtkthemes.c
@@ -83,7 +83,19 @@ gtk_theme_engine_get (gchar *name)
GModule *library;
#ifndef __EMX__
+#if defined (NATIVE_WIN32) && defined (__GNUC__)
+ {
+ /* When built with gcc on Win32, use DLLs named *.gcc.dll,
+ * because MSVC-compiled GTK code is not fully binary compatible
+ * with gcc-compiled.
+ */
+ gchar *gccname = g_strconcat (name, ".gcc", NULL);
+ fullname = g_module_build_path (NULL, gccname);
+ g_free (gccname);
+ }
+#else
fullname = g_module_build_path (NULL, name);
+#endif
#else
fullname = g_malloc (13);
gen_8_3_dll_name(name, fullname);