Fix gdk_window_set_icon_name

A typo kept this from working on toplevel windows.
Reported in bug 612346.
This commit is contained in:
Matthias Clasen 2010-03-12 15:52:36 -05:00
parent f868a6efb4
commit f73f9d802c

View File

@ -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);