[gtk+] GtkWindow: fix notify of :attached-to
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkWindow: fix notify of :attached-to
- Date: Wed, 3 Apr 2013 17:47:03 +0000 (UTC)
commit 14c9023a05bc0869eae387d0e5812f8b086906f5
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Apr 3 19:08:16 2013 +0200
GtkWindow: fix notify of :attached-to
https://bugzilla.gnome.org/show_bug.cgi?id=697200
gtk/gtkwindow.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index eaf0b57..6628ddd 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -2777,6 +2777,8 @@ gtk_window_set_attached_to (GtkWindow *window,
gtk_style_context_set_parent (context, gtk_widget_get_style_context (priv->attach_widget));
else
gtk_style_context_set_parent (context, NULL);
+
+ g_object_notify (G_OBJECT (window), "attached-to");
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]