summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertext.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-12-30 05:11:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-12-30 05:11:03 +0000
commitf7c6751c2957585e642b60cf01e4e6f09cbae62c (patch)
tree52093672347d85dcde069e0e12b2315ae6fba680 /gtk/gtkcellrenderertext.c
parent5e86a6c9cdd2055df350ea3cdaf2c4e59ff77878 (diff)
downloadgtk+-f7c6751c2957585e642b60cf01e4e6f09cbae62c.tar.gz
Use g_value_get_boolean() for ellipsize_set. (#162447, Brian Tarricone)
2004-12-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property): Use g_value_get_boolean() for ellipsize_set. (#162447, Brian Tarricone)
Diffstat (limited to 'gtk/gtkcellrenderertext.c')
-rw-r--r--gtk/gtkcellrenderertext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertext.c b/gtk/gtkcellrenderertext.c
index abdd8db3ef..cada59ad2e 100644
--- a/gtk/gtkcellrenderertext.c
+++ b/gtk/gtkcellrenderertext.c
@@ -1227,7 +1227,7 @@ gtk_cell_renderer_text_set_property (GObject *object,
break;
case PROP_ELLIPSIZE_SET:
- priv->ellipsize_set = g_value_get_enum (value);
+ priv->ellipsize_set = g_value_get_boolean (value);
break;
default: