diff options
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 |