[grisbi-devel] [PATCH 1/8] Corrects a call at gsb_gui_get_account_page () unnecessary

Rémi Cardona remi at gentoo.org
Mon Feb 18 21:23:02 CET 2013


Le dimanche 17 février 2013 à 08:20 +0100, pbiava a écrit :
> ---
>  src/bet_finance_ui.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/bet_finance_ui.c b/src/bet_finance_ui.c
> index 9208bde..e714ee1 100644
> --- a/src/bet_finance_ui.c
> +++ b/src/bet_finance_ui.c
> @@ -1527,7 +1527,7 @@ GtkWidget *bet_finance_create_account_page ( void )
>      gtk_box_pack_start ( GTK_BOX ( page ), align, FALSE, FALSE, 5);
>  
>      label_title = gtk_label_new ( _("Amortization Table") );
> -    g_object_set_data ( G_OBJECT ( gsb_gui_get_account_page () ),
> +    g_object_set_data ( G_OBJECT ( account_page ),
>                          "bet_finance_amortization_title",
>                          label_title );
>      gtk_container_add ( GTK_CONTAINER ( align ), label_title );

Funny, I still have the old code in the 1.0.x branch...

Either way, it looks good to me.

Rémi



More information about the devel mailing list