[gtk+/rendering-cleanup: 28/141] API: remove gdk_window_set_icon()



commit c5d603648dfb1d66b1b18a66bf7cd903741837b6
Author: Benjamin Otte <otte redhat com>
Date:   Thu Aug 12 04:48:06 2010 +0200

    API: remove gdk_window_set_icon()
    
    gdk_window_set_icon_list() now does everything gdk_window_set_icon()
    used to do.

 docs/reference/gdk/gdk3-sections.txt |    1 -
 gdk/gdk.symbols                      |    1 -
 gdk/gdkwindow.h                      |    4 ----
 gdk/quartz/gdkwindow-quartz.c        |    9 ---------
 gdk/win32/gdkwindow-win32.c          |   11 -----------
 gdk/x11/gdkwindow-x11.c              |   23 -----------------------
 6 files changed, 0 insertions(+), 49 deletions(-)
---
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index fe5d5de..4f22a94 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -507,7 +507,6 @@ gdk_window_get_children
 gdk_window_peek_children
 gdk_window_get_events
 gdk_window_set_events
-gdk_window_set_icon
 gdk_window_set_icon_name
 gdk_window_set_transient_for
 gdk_window_set_role
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 4480da1..a2b7554 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -713,7 +713,6 @@ gdk_window_set_override_redirect
 gdk_window_set_accept_focus
 gdk_window_set_focus_on_map
 gdk_window_set_icon_list
-gdk_window_set_icon
 gdk_window_set_icon_name
 gdk_window_set_opacity
 gdk_window_iconify
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index a9e71e8..2724c05 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -767,10 +767,6 @@ GdkEventMask  gdk_window_get_device_events (GdkWindow    *window,
 
 void          gdk_window_set_icon_list   (GdkWindow       *window,
 					  GList           *pixbufs);
-void	      gdk_window_set_icon	 (GdkWindow	  *window, 
-					  GdkWindow	  *icon_window,
-					  GdkPixmap	  *pixmap,
-					  GdkBitmap	  *mask);
 void	      gdk_window_set_icon_name	 (GdkWindow	  *window, 
 					  const gchar	  *name);
 void	      gdk_window_set_group	 (GdkWindow	  *window, 
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 083ce58..117c424 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -2283,15 +2283,6 @@ gdk_window_set_focus_on_map (GdkWindow *window,
 }
 
 void          
-gdk_window_set_icon (GdkWindow *window, 
-		     GdkWindow *icon_window,
-		     GdkPixmap *pixmap,
-		     GdkBitmap *mask)
-{
-  /* FIXME: Implement */
-}
-
-void          
 gdk_window_set_icon_name (GdkWindow   *window, 
 			  const gchar *name)
 {
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 0733e0c..7ec3c98 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -2283,17 +2283,6 @@ gdk_window_set_icon_list (GdkWindow *window,
   impl->hicon_small = small_hicon;
 }
 
-void          
-gdk_window_set_icon (GdkWindow *window, 
-		     GdkWindow *icon_window,
-		     GdkPixmap *pixmap,
-		     GdkBitmap *mask)
-{
-  g_return_if_fail (GDK_IS_WINDOW (window));
-
-  /* do nothing, use gdk_window_set_icon_list instead */
-}
-
 void
 gdk_window_set_icon_name (GdkWindow   *window, 
 			  const gchar *name)
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 86bc0de..370559e 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -3789,29 +3789,6 @@ gdk_window_set_icon_list (GdkWindow *window,
   gdk_window_update_icon (window, pixbufs);
 }
 
-/**
- * gdk_window_set_icon:
- * @window: a toplevel #GdkWindow
- * @icon_window: a #GdkWindow to use for the icon, or %NULL to unset
- * @pixmap: a #GdkPixmap to use as the icon, or %NULL to unset
- * @mask: a 1-bit pixmap (#GdkBitmap) to use as mask for @pixmap, or %NULL to have none
- *
- * Sets the icon of @window as a pixmap or window. If using GTK+, investigate
- * gtk_window_set_default_icon_list() first, and then gtk_window_set_icon_list()
- * and gtk_window_set_icon(). If those don't meet your needs, look at
- * gdk_window_set_icon_list(). Only if all those are too high-level do you
- * want to fall back to gdk_window_set_icon().
- * 
- **/
-void          
-gdk_window_set_icon (GdkWindow *window, 
-		     GdkWindow *icon_window,
-		     GdkPixmap *pixmap,
-		     GdkBitmap *mask)
-{
-  return;
-}
-
 static gboolean
 gdk_window_icon_name_set (GdkWindow *window)
 {



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