diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2011-03-17 02:51:15 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-17 19:54:34 +0800 |
commit | 88e09c99733982de201c3c1cfbf4742a0e8662b1 (patch) | |
tree | de0f99c45903453a776091f69be212125c4f6688 /libempathy-gtk/empathy-account-chooser.c | |
parent | 95a0ab7d884a6500cfba6ff63fea73269faec0da (diff) | |
download | gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.gz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.bz2 gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.lz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.xz gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.tar.zst gsoc2013-empathy-88e09c99733982de201c3c1cfbf4742a0e8662b1.zip |
Fix warnings from GCC 4.6 about variables that are set but not used.
Diffstat (limited to 'libempathy-gtk/empathy-account-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-account-chooser.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libempathy-gtk/empathy-account-chooser.c b/libempathy-gtk/empathy-account-chooser.c index 10ca143d2..71baba483 100644 --- a/libempathy-gtk/empathy-account-chooser.c +++ b/libempathy-gtk/empathy-account-chooser.c @@ -284,10 +284,6 @@ account_chooser_set_property (GObject *object, const GValue *value, GParamSpec *pspec) { - EmpathyAccountChooserPriv *priv; - - priv = GET_PRIV (object); - switch (param_id) { case PROP_HAS_ALL_OPTION: empathy_account_chooser_set_has_all_option (EMPATHY_ACCOUNT_CHOOSER (object), @@ -329,15 +325,12 @@ empathy_account_chooser_new (void) TpAccount * empathy_account_chooser_dup_account (EmpathyAccountChooser *chooser) { - EmpathyAccountChooserPriv *priv; TpAccount *account; GtkTreeModel *model; GtkTreeIter iter; g_return_val_if_fail (EMPATHY_IS_ACCOUNT_CHOOSER (chooser), NULL); - priv = GET_PRIV (chooser); - model = gtk_combo_box_get_model (GTK_COMBO_BOX (chooser)); if (!gtk_combo_box_get_active_iter (GTK_COMBO_BOX (chooser), &iter)) { return NULL; @@ -362,14 +355,11 @@ empathy_account_chooser_dup_account (EmpathyAccountChooser *chooser) TpConnection * empathy_account_chooser_get_connection (EmpathyAccountChooser *chooser) { - EmpathyAccountChooserPriv *priv; TpAccount *account; TpConnection *connection; g_return_val_if_fail (EMPATHY_IS_ACCOUNT_CHOOSER (chooser), NULL); - priv = GET_PRIV (chooser); - account = empathy_account_chooser_dup_account (chooser); /* if the returned account is NULL, then the account manager probably |