diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-01-28 18:52:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-01-28 18:52:49 +0000 |
commit | e2b730ac43a27e91217a0d5602eff948f29533f5 (patch) | |
tree | 415cc297ea4c01e4c6d889dd14c4b4cf43603b01 /gtk/gtknotebook.c | |
parent | 929c8ed53e821f3f48dafc2757cb6b7cdc16cd7c (diff) | |
download | gtk+-e2b730ac43a27e91217a0d5602eff948f29533f5.tar.gz |
General property notification cleanup.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index ff90de2b2a..962e7f3df5 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -4340,7 +4340,11 @@ gtk_notebook_set_tab_border (GtkNotebook *notebook, if (GTK_WIDGET_VISIBLE (notebook) && notebook->show_tabs) gtk_widget_queue_resize (GTK_WIDGET (notebook)); + g_object_freeze_notify (G_OBJECT (notebook)); g_object_notify (G_OBJECT (notebook), "tab_hborder"); + g_object_notify (G_OBJECT (notebook), "tab_vborder"); + g_object_thaw_notify (G_OBJECT (notebook)); + } /** @@ -4364,7 +4368,7 @@ gtk_notebook_set_tab_hborder (GtkNotebook *notebook, if (GTK_WIDGET_VISIBLE (notebook) && notebook->show_tabs) gtk_widget_queue_resize (GTK_WIDGET (notebook)); - g_object_notify (G_OBJECT (notebook), "tab_vborder"); + g_object_notify (G_OBJECT (notebook), "tab_hborder"); } /** @@ -4387,6 +4391,8 @@ gtk_notebook_set_tab_vborder (GtkNotebook *notebook, if (GTK_WIDGET_VISIBLE (notebook) && notebook->show_tabs) gtk_widget_queue_resize (GTK_WIDGET (notebook)); + + g_object_notify (G_OBJECT (notebook), "tab_vborder"); } /** |