summaryrefslogtreecommitdiff
path: root/gtk/gtktext.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/gtktext.c
parent929c8ed53e821f3f48dafc2757cb6b7cdc16cd7c (diff)
downloadgtk+-e2b730ac43a27e91217a0d5602eff948f29533f5.tar.gz
General property notification cleanup.
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r--gtk/gtktext.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 335c4fb07a..9397c16a70 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -870,6 +870,7 @@ gtk_text_set_adjustments (GtkText *text,
gtk_object_unref (GTK_OBJECT (text->vadj));
}
+ g_object_freeze_notify (G_OBJECT (text));
if (text->hadj != hadj)
{
text->hadj = hadj;
@@ -909,6 +910,7 @@ gtk_text_set_adjustments (GtkText *text,
g_object_notify (G_OBJECT (text), "vadjustment");
}
+ g_object_thaw_notify (G_OBJECT (text));
}
void