[gtk] window: Remove set_default_icon



commit e82d97f0699832d992c0e41f9a832e3f0d46f773
Author: Timm Bäder <mail baedert org>
Date:   Sun Dec 30 06:38:28 2018 +0100

    window: Remove set_default_icon

 gtk/gtkwindow.c | 19 -------------------
 gtk/gtkwindow.h |  2 --
 2 files changed, 21 deletions(-)
---
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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]