From 43d6ebf9fbecd89cfef8c0c5e7ebc76b50bdde7e Mon Sep 17 00:00:00 2001 From: Sebastien Lafargue Date: Sun, 4 Jan 2015 12:40:27 +0100 Subject: [PATCH] cellrenderertext: notify inverted The notify for "size" and "size-points" properties are inverted. https://bugzilla.gnome.org/show_bug.cgi?id=742311 --- gtk/gtkcellrenderertext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c index b66691b917..18923e26a2 100644 --- a/gtk/gtkcellrenderertext.c +++ b/gtk/gtkcellrenderertext.c @@ -1384,12 +1384,12 @@ gtk_cell_renderer_text_set_property (GObject *object, case PROP_SIZE: pango_font_description_set_size (priv->font, g_value_get_int (value)); - g_object_notify (object, "size-points"); + g_object_notify (object, "size"); break; case PROP_SIZE_POINTS: pango_font_description_set_size (priv->font, g_value_get_double (value) * PANGO_SCALE); - g_object_notify (object, "size"); + g_object_notify (object, "size-points"); break; }