cellrenderertext: notify inverted

The notify for "size" and "size-points" properties
are inverted.

https://bugzilla.gnome.org/show_bug.cgi?id=742311
This commit is contained in:
Sebastien Lafargue 2015-01-04 12:40:27 +01:00
parent b46fdb2d13
commit 43d6ebf9fb

View File

@ -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;
}