[gtk+] Fix gdk_window_set_icon_name



commit f73f9d802ca412c08e3add899c7457438644d7c2
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 12 15:52:36 2010 -0500

    Fix gdk_window_set_icon_name
    
    A typo kept this from working on toplevel windows.
    Reported in bug 612346.

 gdk/x11/gdkwindow-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index c6d608c..455a88b 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -3909,7 +3909,7 @@ gdk_window_set_icon_name (GdkWindow   *window,
   GdkDisplay *display;
 
   if (GDK_WINDOW_DESTROYED (window) ||
-      WINDOW_IS_TOPLEVEL_OR_FOREIGN (window))
+      !WINDOW_IS_TOPLEVEL_OR_FOREIGN (window))
     return;
 
   display = gdk_drawable_get_display (window);



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