summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-01-28 18:52:49 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-01-28 18:52:49 +0000
commite2b730ac43a27e91217a0d5602eff948f29533f5 (patch)
tree415cc297ea4c01e4c6d889dd14c4b4cf43603b01 /gtk/gtknotebook.c
parent929c8ed53e821f3f48dafc2757cb6b7cdc16cd7c (diff)
downloadgtk+-e2b730ac43a27e91217a0d5602eff948f29533f5.tar.gz
General property notification cleanup.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c8
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");
}
/**