aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-01-31 01:34:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:34:58 +0800
commit47036c6c5ff52acc356ad64d900b9b8cc738cb8b (patch)
tree63be28abcc0f89edff99f672b3c064539c37be16 /libempathy-gtk
parenta949ddf21547c69d33bd663b07ef0bd79ae87983 (diff)
downloadgsoc2013-empathy-47036c6c5ff52acc356ad64d900b9b8cc738cb8b.tar
gsoc2013-empathy-47036c6c5ff52acc356ad64d900b9b8cc738cb8b.tar.gz
gsoc2013-empathy-47036c6c5ff52acc356ad64d900b9b8cc738cb8b.tar.bz2
gsoc2013-empathy-47036c6c5ff52acc356ad64d900b9b8cc738cb8b.tar.lz
gsoc2013-empathy-47036c6c5ff52acc356ad64d900b9b8cc738cb8b.tar.xz
gsoc2013-empathy-47036c6c5ff52acc356ad64d900b9b8cc738cb8b.tar.zst
gsoc2013-empathy-47036c6c5ff52acc356ad64d900b9b8cc738cb8b.zip
Don't get a cast to EmpathyContactSelector when it's not needed.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2342
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-selector.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c
index fa205c3a0..a094f171d 100644
--- a/libempathy-gtk/empathy-contact-selector.c
+++ b/libempathy-gtk/empathy-contact-selector.c
@@ -280,8 +280,7 @@ contact_selector_set_property (GObject *object,
const GValue *value,
GParamSpec *pspec)
{
- EmpathyContactSelector *contact_selector = EMPATHY_CONTACT_SELECTOR (object);
- EmpathyContactSelectorPriv *priv = GET_PRIV (contact_selector);
+ EmpathyContactSelectorPriv *priv = GET_PRIV (object);
switch (prop_id)
{
@@ -300,8 +299,7 @@ contact_selector_get_property (GObject *object,
GValue *value,
GParamSpec *pspec)
{
- EmpathyContactSelector *contact_selector = EMPATHY_CONTACT_SELECTOR (object);
- EmpathyContactSelectorPriv *priv = GET_PRIV (contact_selector);
+ EmpathyContactSelectorPriv *priv = GET_PRIV (object);
switch (prop_id)
{