aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2011-03-17 02:51:15 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-17 19:54:34 +0800
commit88e09c99733982de201c3c1cfbf4742a0e8662b1 (patch)
treede0f99c45903453a776091f69be212125c4f6688 /libempathy-gtk/empathy-individual-view.c
parent95a0ab7d884a6500cfba6ff63fea73269faec0da (diff)
downloadgsoc2013-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-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index c66fda6b8..5cd2afacb 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -409,7 +409,6 @@ individual_view_persona_drag_received (GtkWidget *self,
GtkTreePath *path,
GtkSelectionData *selection)
{
- EmpathyIndividualViewPriv *priv;
EmpathyIndividualManager *manager = NULL;
FolksIndividual *individual = NULL;
FolksPersona *persona = NULL;
@@ -417,8 +416,6 @@ individual_view_persona_drag_received (GtkWidget *self,
GList *individuals, *l;
gboolean retval = FALSE;
- priv = GET_PRIV (self);
-
persona_uid = (const gchar *) gtk_selection_data_get_data (selection);
/* FIXME: This is slow, but the only way to find the Persona we're having
@@ -2216,7 +2213,6 @@ empathy_individual_view_new (EmpathyIndividualStore *store,
FolksIndividual *
empathy_individual_view_dup_selected (EmpathyIndividualView *view)
{
- EmpathyIndividualViewPriv *priv;
GtkTreeSelection *selection;
GtkTreeIter iter;
GtkTreeModel *model;
@@ -2224,8 +2220,6 @@ empathy_individual_view_dup_selected (EmpathyIndividualView *view)
g_return_val_if_fail (EMPATHY_IS_INDIVIDUAL_VIEW (view), NULL);
- priv = GET_PRIV (view);
-
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
if (!gtk_tree_selection_get_selected (selection, &model, &iter))
return NULL;
@@ -2240,7 +2234,6 @@ static gchar *
empathy_individual_view_dup_selected_group (EmpathyIndividualView *view,
gboolean *is_fake_group)
{
- EmpathyIndividualViewPriv *priv;
GtkTreeSelection *selection;
GtkTreeIter iter;
GtkTreeModel *model;
@@ -2250,8 +2243,6 @@ empathy_individual_view_dup_selected_group (EmpathyIndividualView *view,
g_return_val_if_fail (EMPATHY_IS_INDIVIDUAL_VIEW (view), NULL);
- priv = GET_PRIV (view);
-
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (view));
if (!gtk_tree_selection_get_selected (selection, &model, &iter))
return NULL;