diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-05 17:27:28 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-05 17:29:28 +0800 |
commit | 9a17d44fc225a0e4a26d702366236622830c301a (patch) | |
tree | 0bc1b1b495de91bc7e33ab31b7256019a336c4e3 /src | |
parent | 05c9e6264afc59d72d824f19ca18f902dbd61cae (diff) | |
download | gsoc2013-empathy-9a17d44fc225a0e4a26d702366236622830c301a.tar gsoc2013-empathy-9a17d44fc225a0e4a26d702366236622830c301a.tar.gz gsoc2013-empathy-9a17d44fc225a0e4a26d702366236622830c301a.tar.bz2 gsoc2013-empathy-9a17d44fc225a0e4a26d702366236622830c301a.tar.lz gsoc2013-empathy-9a17d44fc225a0e4a26d702366236622830c301a.tar.xz gsoc2013-empathy-9a17d44fc225a0e4a26d702366236622830c301a.tar.zst gsoc2013-empathy-9a17d44fc225a0e4a26d702366236622830c301a.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | 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 c31f237c7..0cef0e10f 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, |