[empathy] ignore return value of main_window_setup_balance_create_widget()



commit 9a17d44fc225a0e4a26d702366236622830c301a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu May 5 11:27:28 2011 +0200

    ignore return value of main_window_setup_balance_create_widget()
    
    fix unused-but-set-variable warnings with gcc 4.6. Thanks to Marc Plano-Lesay
    for reporting.

 src/empathy-main-window.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index c31f237..0cef0e1 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1020,7 +1020,6 @@ main_window_setup_balance_conn_ready (GObject      *conn,
 	EmpathyMainWindowPriv *priv = GET_PRIV (window);
 	TpAccount *account = g_object_get_data (conn, "account");
 	GtkAction *action;
-	GtkWidget *widget;
 	GError *error = NULL;
 
 	if (!tp_proxy_prepare_finish (conn, result, &error)) {
@@ -1047,7 +1046,7 @@ main_window_setup_balance_conn_ready (GObject      *conn,
 	gtk_action_set_visible (priv->view_balance_show_in_roster, TRUE);
 
 	/* create the display widget */
-	widget = main_window_setup_balance_create_widget (window, action);
+	main_window_setup_balance_create_widget (window, action);
 
 	/* request the current balance and monitor for any changes */
 	tp_cli_dbus_properties_call_get_all (conn, -1,



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