diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-06-20 16:14:24 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-06-20 16:14:24 +0000 |
commit | 3bbc2ee8b8f1a80df02cf6696802d258277915cb (patch) | |
tree | d071d5e34d0d3b26695dcbd8fc55671bb5661361 /gtk/gtkinvisible.c | |
parent | 31d5930516c89c3599911e8bafd43ae9215005da (diff) | |
download | gtk+-3bbc2ee8b8f1a80df02cf6696802d258277915cb.tar.gz |
Add notification for screen property. (#80280)
Thu Jun 20 12:16:00 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkinvisible.c (gtk_invisible_set_screen): Add
notification for screen property. (#80280)
Diffstat (limited to 'gtk/gtkinvisible.c')
-rw-r--r-- | gtk/gtkinvisible.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c index 7fb23ca89c..fc0ecdef3e 100644 --- a/gtk/gtkinvisible.c +++ b/gtk/gtkinvisible.c @@ -200,7 +200,10 @@ gtk_invisible_set_screen (GtkInvisible *invisible, if (was_realized) gtk_widget_unrealize (GTK_WIDGET (invisible)); + invisible->screen = screen; + g_object_notify (G_OBJECT (invisible), "screen"); + if (was_realized) gtk_widget_realize (GTK_WIDGET (invisible)); } |