[PATCH] GtkDataBoxGraph: Fix 'hide' propery
- From: Lars-Peter Clausen <lars metafoo de>
- To: gtkdatabox-list gnome org
- Subject: [PATCH] GtkDataBoxGraph: Fix 'hide' propery
- Date: Sun, 29 Jul 2012 12:05:24 +0200
The 'hide' property is registered with the 'size' property's id. As a result
changing the 'hide' property using glib's property system will change the 'size'
property instead.
Signed-off-by: Lars-Peter Clausen <lars metafoo de>
---
gtk/gtkdatabox_graph.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gtk/gtkdatabox_graph.c b/gtk/gtkdatabox_graph.c
index 6bd7ccb..2d3ef67 100644
--- a/gtk/gtkdatabox_graph.c
+++ b/gtk/gtkdatabox_graph.c
@@ -232,7 +232,7 @@ gtk_databox_graph_class_init (gpointer g_class /*, gpointer g_class_data */ )
G_PARAM_READWRITE);
g_object_class_install_property (gobject_class,
- GRAPH_SIZE, graph_param_spec);
+ GRAPH_HIDE, graph_param_spec);
klass->draw = gtk_databox_graph_real_draw;
klass->calculate_extrema = gtk_databox_graph_real_calculate_extrema;
--
1.7.10.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]