summaryrefslogtreecommitdiff
path: root/gtk/gtkfontsel.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-08-11 20:27:36 +0000
committerHans Breuer <hans@src.gnome.org>2001-08-11 20:27:36 +0000
commit0b5db507da8fff0c9d4fad16c4b4fc569ffb3ec0 (patch)
treeb7c4593df4d6ff4ee476a9944e515698d6fe99ac /gtk/gtkfontsel.c
parent4041a889cd7f8219568ffbf49a611029786680eb (diff)
downloadgdk-pixbuf-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/gtkfontsel.c')
-rw-r--r--gtk/gtkfontsel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfontsel.c b/gtk/gtkfontsel.c
index 63f643f76..06d084951 100644
--- a/gtk/gtkfontsel.c
+++ b/gtk/gtkfontsel.c
@@ -890,8 +890,10 @@ gtk_font_selection_set_font_name (GtkFontSelection *fontsel,
pango_font_description_free (fontsel->font_desc);
fontsel->font_desc = new_desc;
+ g_object_freeze_notify (G_OBJECT (fontsel));
g_object_notify (G_OBJECT (fontsel), "font_name");
g_object_notify (G_OBJECT (fontsel), "font");
+ g_object_thaw_notify (G_OBJECT (fontsel));
return TRUE;
}