window: Remove set_default_icon

This commit is contained in:
Timm Bäder 2018-12-30 06:38:28 +01:00 committed by Matthias Clasen
parent 490bb4c2ea
commit e82d97f069
2 changed files with 0 additions and 21 deletions

View File

@ -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

View File

@ -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);