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/gtkcurve.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/gtkcurve.c')
-rw-r--r-- | gtk/gtkcurve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c index 05d96cdbfb..38c74a07fd 100644 --- a/gtk/gtkcurve.c +++ b/gtk/gtkcurve.c @@ -824,6 +824,7 @@ gtk_curve_set_range (GtkCurve *curve, gfloat min_y, gfloat max_y) { + g_object_freeze_notify (G_OBJECT (curve)); if (curve->min_x != min_x) { curve->min_x = min_x; g_object_notify (G_OBJECT (curve), "min_x"); @@ -840,6 +841,7 @@ gtk_curve_set_range (GtkCurve *curve, curve->max_y = max_y; g_object_notify (G_OBJECT (curve), "max_y"); } + g_object_thaw_notify (G_OBJECT (curve)); gtk_curve_size_graph (curve); gtk_curve_reset_vector (curve); |