summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertext.c
diff options
context:
space:
mode:
authorSebastien Lafargue <slafargue@gnome.org>2015-01-04 12:40:27 +0100
committerSebastien Lafargue <slafargue@gnome.org>2015-01-04 12:48:14 +0100
commit43d6ebf9fbecd89cfef8c0c5e7ebc76b50bdde7e (patch)
tree8c1212d1366baf8f560b5bfc4173855097e46a2b /gtk/gtkcellrenderertext.c
parentb46fdb2d13a072bd9d91c316cae3e9139ea512b5 (diff)
downloadgtk+-43d6ebf9fbecd89cfef8c0c5e7ebc76b50bdde7e.tar.gz
cellrenderertext: notify inverted
The notify for "size" and "size-points" properties are inverted. https://bugzilla.gnome.org/show_bug.cgi?id=742311
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r--gtk/gtkcellrenderertext.c4
1 files 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;
}