[grisbi-devel] [PATCH 2/8] Fixed a bug of association to an object not initialized

pbiava pierre.biava at nerim.net
Sun Feb 17 08:20:35 CET 2013


---
 src/bet_finance_ui.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bet_finance_ui.c b/src/bet_finance_ui.c
index e714ee1..06165a4 100644
--- a/src/bet_finance_ui.c
+++ b/src/bet_finance_ui.c
@@ -1781,8 +1781,8 @@ static GtkWidget *bet_finance_create_simulator_toolbar ( GtkWidget *parent,
     GtkToolItem *item;
 
     toolbar = gtk_toolbar_new ( );
-    g_object_set_data ( G_OBJECT ( simulator_toolbar ), "tree_view", tree_view );
-    g_object_set_data ( G_OBJECT ( simulator_toolbar ), "page", parent );
+    g_object_set_data ( G_OBJECT ( toolbar ), "tree_view", tree_view );
+    g_object_set_data ( G_OBJECT ( toolbar ), "page", parent );
 
     if ( simulator )
     {
-- 
1.8.1.3



More information about the devel mailing list