diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 2dbed9be42..bb4f869cdf 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -4912,25 +4912,6 @@ gtk_window_set_default_icon_list (GList *list) g_list_free (toplevels); } -/** - * gtk_window_set_default_icon: - * @icon: the icon - * - * Sets an icon to be used as fallback for windows that haven't - * had gtk_window_set_icon() called on them from a surface. - **/ -void -gtk_window_set_default_icon (GdkTexture *icon) -{ - GList *list; - - g_return_if_fail (GDK_IS_TEXTURE (icon)); - - list = g_list_prepend (NULL, icon); - gtk_window_set_default_icon_list (list); - g_list_free (list); -} - /** * gtk_window_set_default_icon_name: * @name: the name of the themed icon diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h index 1a9e79a089..884d072215 100644 --- a/gtk/gtkwindow.h +++ b/gtk/gtkwindow.h @@ -287,8 +287,6 @@ void gtk_window_set_default_icon_list (GList *list); GDK_AVAILABLE_IN_ALL GList* gtk_window_get_default_icon_list (void); GDK_AVAILABLE_IN_ALL -void gtk_window_set_default_icon (GdkTexture *icon); -GDK_AVAILABLE_IN_ALL void gtk_window_set_default_icon_name (const gchar *name); GDK_AVAILABLE_IN_ALL const gchar * gtk_window_get_default_icon_name (void);