[gtk+/gtk-3-14] cellrenderertext: notify inverted
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] cellrenderertext: notify inverted
- Date: Sun, 11 Jan 2015 02:54:12 +0000 (UTC)
commit 46fa7bb4cdf0753cdb73ac8b9e3e2b1294386864
Author: Sebastien Lafargue <slafargue gnome org>
Date: Sun Jan 4 12:40:27 2015 +0100
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index b66691b..18923e2 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]