[gtk+] Fix gdk_window_set_icon_name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix gdk_window_set_icon_name
- Date: Fri, 12 Mar 2010 21:04:41 +0000 (UTC)
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]