Re: [PATCH] GtkDataBoxGraph: Fix 'hide' propery



On 07/31/2012 03:36 PM, Matt Flax wrote:
> Thanks Lars-Peter,
> 
> I have updated the code base. Check the latest commit.
> 
> Matt

Thanks.

Btw. you always seem to manually apply the patches, do you know about `git
am`[1]? It allows you to import a patch from a E-Mail.

- Lars

[1] http://www.kernel.org/pub/software/scm/git/docs/git-am.html


> 
> 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;
> 
> _______________________________________________
> gtkdatabox-list mailing list
> gtkdatabox-list gnome org
> https://mail.gnome.org/mailman/listinfo/gtkdatabox-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]