empathy r2342 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2342 - trunk/libempathy-gtk
- Date: Fri, 30 Jan 2009 17:34:58 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 30 17:34:58 2009
New Revision: 2342
URL: http://svn.gnome.org/viewvc/empathy?rev=2342&view=rev
Log:
Don't get a cast to EmpathyContactSelector when it's not needed.
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy-gtk/empathy-contact-selector.c
Modified: trunk/libempathy-gtk/empathy-contact-selector.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-selector.c (original)
+++ trunk/libempathy-gtk/empathy-contact-selector.c Fri Jan 30 17:34:58 2009
@@ -280,8 +280,7 @@
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 @@
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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]