diff options
author | Tor Lillqvist <tml@iki.fi> | 2010-08-30 14:57:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2010-08-30 14:57:48 +0300 |
commit | 4491bdbb9d6c74f8cf31e892d8ee6d0728685e85 (patch) | |
tree | bc319251e9780c4976564d18c7435658ab3d4221 /gtk/gtkwindow.c | |
parent | 972f617b77dc02ade1295ed729101f77c804e7f8 (diff) | |
download | gtk+-4491bdbb9d6c74f8cf31e892d8ee6d0728685e85.tar.gz |
Drop Win32 DLL ABI compatibility cruft
No need for that any longer as we are changing DLL name.
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 652934928f..b6095bb2c4 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -8784,46 +8784,3 @@ gtk_window_set_mnemonics_visible (GtkWindow *window, priv->mnemonics_visible_set = TRUE; } - -#if defined (G_OS_WIN32) && !defined (_WIN64) - -#undef gtk_window_set_icon_from_file - -gboolean -gtk_window_set_icon_from_file (GtkWindow *window, - const gchar *filename, - GError **err) -{ - gchar *utf8_filename = g_locale_to_utf8 (filename, -1, NULL, NULL, err); - gboolean retval; - - if (utf8_filename == NULL) - return FALSE; - - retval = gtk_window_set_icon_from_file_utf8 (window, utf8_filename, err); - - g_free (utf8_filename); - - return retval; -} - -#undef gtk_window_set_default_icon_from_file - -gboolean -gtk_window_set_default_icon_from_file (const gchar *filename, - GError **err) -{ - gchar *utf8_filename = g_locale_to_utf8 (filename, -1, NULL, NULL, err); - gboolean retval; - - if (utf8_filename == NULL) - return FALSE; - - retval = gtk_window_set_default_icon_from_file_utf8 (utf8_filename, err); - - g_free (utf8_filename); - - return retval; -} - -#endif |