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 committed by Tristan Van Berkom
parent b04186d272
commit df95db7649

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