aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-persona-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-persona-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-persona-view.c')
-rw-r--r--libempathy-gtk/empathy-persona-view.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libempathy-gtk/empathy-persona-view.c b/libempathy-gtk/empathy-persona-view.c
index a03746538..289f6fac9 100644
--- a/libempathy-gtk/empathy-persona-view.c
+++ b/libempathy-gtk/empathy-persona-view.c
@@ -354,14 +354,11 @@ individual_drag_received (EmpathyPersonaView *self,
GdkDragContext *context,
GtkSelectionData *selection)
{
- EmpathyPersonaViewPriv *priv;
EmpathyIndividualManager *manager = NULL;
FolksIndividual *individual;
const gchar *individual_id;
gboolean success = FALSE;
- priv = GET_PRIV (self);
-
individual_id = (const gchar *) gtk_selection_data_get_data (selection);
manager = empathy_individual_manager_dup_singleton ();
individual = empathy_individual_manager_lookup_member (manager,
@@ -410,11 +407,8 @@ drag_motion (GtkWidget *widget,
guint time_)
{
EmpathyPersonaView *self = EMPATHY_PERSONA_VIEW (widget);
- EmpathyPersonaViewPriv *priv;
GdkAtom target;
- priv = GET_PRIV (self);
-
target = gtk_drag_dest_find_target (GTK_WIDGET (self), context, NULL);
if (target == drag_atoms_dest[DND_DRAG_TYPE_INDIVIDUAL_ID])
@@ -452,15 +446,12 @@ drag_data_get (GtkWidget *widget,
guint time_)
{
EmpathyPersonaView *self = EMPATHY_PERSONA_VIEW (widget);
- EmpathyPersonaViewPriv *priv;
FolksPersona *persona;
const gchar *persona_uid;
if (info != DND_DRAG_TYPE_PERSONA_ID)
return;
- priv = GET_PRIV (self);
-
persona = empathy_persona_view_dup_selected (self);
if (persona == NULL)
return;
@@ -779,7 +770,6 @@ empathy_persona_view_new (EmpathyPersonaStore *store,
FolksPersona *
empathy_persona_view_dup_selected (EmpathyPersonaView *self)
{
- EmpathyPersonaViewPriv *priv;
GtkTreeSelection *selection;
GtkTreeIter iter;
GtkTreeModel *model;
@@ -787,8 +777,6 @@ empathy_persona_view_dup_selected (EmpathyPersonaView *self)
g_return_val_if_fail (EMPATHY_IS_PERSONA_VIEW (self), NULL);
- priv = GET_PRIV (self);
-
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (self));
if (!gtk_tree_selection_get_selected (selection, &model, &iter))
return NULL;