[grisbi-devel] [PATCH 1/7] Remove unused variable (and expensive GObject cast) in gsb_assistant_payees_enter_page_finish()

RĂ©mi Cardona remi at gentoo.org
Wed Jan 30 08:42:31 CET 2013


---
 src/tiers_onglet.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/tiers_onglet.c b/src/tiers_onglet.c
index 8fbf23b..da8dfa5 100644
--- a/src/tiers_onglet.c
+++ b/src/tiers_onglet.c
@@ -1384,7 +1384,6 @@ static gboolean gsb_assistant_payees_enter_page_3 ( GtkWidget *assistant )
  */
 static gboolean gsb_assistant_payees_enter_page_finish ( GtkWidget *assistant )
 {
-    GtkTreeView *treeview;
     GtkLabel *label;
     GtkComboFix *combo;
     GtkEntry *entry;
@@ -1393,7 +1392,6 @@ static gboolean gsb_assistant_payees_enter_page_finish ( GtkWidget *assistant )
     const gchar *str_cherche;
 
     devel_debug ("Enter page finish");
-    treeview = g_object_get_data ( G_OBJECT (assistant), "treeview" );
     sup_payees = g_object_get_data ( G_OBJECT (assistant), "sup_payees" );
     combo = g_object_get_data ( G_OBJECT (assistant), "payee");
     str_cherche = gtk_combofix_get_text ( combo );
-- 
1.8.1.1



More information about the devel mailing list