[gtk+] Fixed statement in gtkwindow.c when toplevelness changes.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fixed statement in gtkwindow.c when toplevelness changes.
- Date: Thu, 6 Jan 2011 06:05:51 +0000 (UTC)
commit 44a9b1c35e984db779613940a2584508b76efb34
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Thu Jan 6 14:27:03 2011 +0900
Fixed statement in gtkwindow.c when toplevelness changes.
Fixed a typo when checking if the heirarchy toplevel is a toplevel
before firing the hierarchy-changed signal.
gtk/gtkwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index e69c018..4fc7700 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -9255,7 +9255,7 @@ _gtk_window_set_is_toplevel (GtkWindow *window,
* things happen differently.
*/
toplevel = gtk_widget_get_toplevel (widget);
- if (!gtk_widget_is_toplevel (widget))
+ if (!gtk_widget_is_toplevel (toplevel))
toplevel = NULL;
_gtk_widget_set_is_toplevel (widget, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]