[gtk+/gtk-2-18] Fix gdk_window_set_icon_name



commit 6bf6324626e7e50aa56f296c6a0762fd4349f202
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.
    (cherry picked from commit f73f9d802ca412c08e3add899c7457438644d7c2)

 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 79453e3..1914258 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -3911,7 +3911,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]