diff options
author | Hans Breuer <hans@breuer.org> | 2001-08-11 20:27:36 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2001-08-11 20:27:36 +0000 |
commit | 0b5db507da8fff0c9d4fad16c4b4fc569ffb3ec0 (patch) | |
tree | b7c4593df4d6ff4ee476a9944e515698d6fe99ac /gtk/gtkprogress.c | |
parent | 4041a889cd7f8219568ffbf49a611029786680eb (diff) | |
download | gtk+-0b5db507da8fff0c9d4fad16c4b4fc569ffb3ec0.tar.gz |
coalescing property notifies
2001-08-11 Hans Breuer <hans@breuer.org>
* gtk/gtkalignment.c, gtk/gtkarrow.c, gtk/gtkaspectframe.c,
gtk/gtkcellrenderer.c, gtk/gtkcellrenderertext.c,
gtk/gtkcombo.c, gtk/gtkcurve.c, gtk/gtkfontsel.c,
gtk/gtklayout.c, gtk/gtkmisc.c, gtk/gtkpacker.c,
gtk/gtkprogress.c, gtk/gtkruler.c,, gtk/gtksettings.c,
gtk/gtkspinbutton.c, gtk/gtktexttag.c : coalescing property notifies
* gtk/gtkclist.c, gtk/gtktipsquery.c, gtk/gtktexttag.c,
gtk/gtkwidget.c : added G_SIGNAL_TYPE_STATIC_SCOPE to all
GDK_TYPE_EVENT signals
* gtk/gtkalignment.c : removed 'direct allocation bug',
which Tim discovered while reading the patch
Diffstat (limited to 'gtk/gtkprogress.c')
-rw-r--r-- | gtk/gtkprogress.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkprogress.c b/gtk/gtkprogress.c index 44af6a5b96..74b5485a4c 100644 --- a/gtk/gtkprogress.c +++ b/gtk/gtkprogress.c @@ -633,6 +633,7 @@ gtk_progress_set_text_alignment (GtkProgress *progress, if (progress->x_align != x_align || progress->y_align != y_align) { + g_object_freeze_notify (G_OBJECT (progress)); if (progress->x_align != x_align) { progress->x_align = x_align; @@ -644,6 +645,7 @@ gtk_progress_set_text_alignment (GtkProgress *progress, progress->y_align = y_align; g_object_notify (G_OBJECT (progress), "text_yalign"); } + g_object_thaw_notify (G_OBJECT (progress)); if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (progress))) gtk_widget_queue_resize (GTK_WIDGET (progress)); |