[gtk/wip/baedert/window-icons2: 4/10] window: Remove set_default_icon
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/window-icons2: 4/10] window: Remove set_default_icon
- Date: Sun, 30 Dec 2018 06:24:38 +0000 (UTC)
commit c3fe5bb2f6fd593b9f1505aea8b494475b5b97ab
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 42c7d3453a..e046b5f2aa 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4916,25 +4916,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]