Commit 47036c6c authored by Jonny Lamb's avatar Jonny Lamb Committed by Xavier Claessens

Don't get a cast to EmpathyContactSelector when it's not needed.

Signed-off-by: 's avatarJonny Lamb <jonny.lamb@collabora.co.uk>

svn path=/trunk/; revision=2342
parent a949ddf2
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment