Re: [PATCH] GtkDataBoxGraph: Fix 'hide' propery
- From: Matt Flax <flatmax flatmax org>
- To: gtkdatabox-list gnome org
- Subject: Re: [PATCH] GtkDataBoxGraph: Fix 'hide' propery
- Date: Tue, 31 Jul 2012 08:36:28 -0500
Thanks Lars-Peter,
I have updated the code base. Check the latest commit.
Matt
On 07/29/2012 05:05 AM, Lars-Peter Clausen wrote:
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;
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]