coalesce multiple property notifies.

Fri Aug 10 16:55:53 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
        property notifies.
This commit is contained in:
Tim Janik 2001-08-10 15:33:29 +00:00 committed by Tim Janik
parent f37a0627fc
commit 15d3368180
9 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Aug 10 16:55:53 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
property notifies.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

View File

@ -1,3 +1,8 @@
Fri Aug 10 16:55:53 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
property notifies.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

View File

@ -1,3 +1,8 @@
Fri Aug 10 16:55:53 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
property notifies.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

View File

@ -1,3 +1,8 @@
Fri Aug 10 16:55:53 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
property notifies.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

View File

@ -1,3 +1,8 @@
Fri Aug 10 16:55:53 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
property notifies.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

View File

@ -1,3 +1,8 @@
Fri Aug 10 16:55:53 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
property notifies.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

View File

@ -1,3 +1,8 @@
Fri Aug 10 16:55:53 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwindow.c (gtk_window_set_policy): coalesce multiple
property notifies.
2001-08-07 Havoc Pennington <hp@pobox.com>
* gtk/gtkfilesel.c (open_ref_dir): fix a typo.

View File

@ -495,6 +495,7 @@ This can later be composited together with other
#GtkRcStyle structures to form a #GtkStyle.
</para>
@parent_instance:
@name:
@bg_pixmap_name:
@font_desc:

View File

@ -964,9 +964,11 @@ gtk_window_set_policy (GtkWindow *window,
window->allow_shrink = (allow_shrink != FALSE);
window->allow_grow = (allow_grow != FALSE);
g_object_freeze_notify (G_OBJECT (window));
g_object_notify (G_OBJECT (window), "allow_shrink");
g_object_notify (G_OBJECT (window), "allow_grow");
g_object_notify (G_OBJECT (window), "resizable");
g_object_thaw_notify (G_OBJECT (window));
gtk_widget_queue_resize (GTK_WIDGET (window));
}