aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-tab-picker.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-06-05 04:53:10 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:26 +0800
commite7954c3f251aabbf95d099159709c8c66dfedc44 (patch)
tree08b6fbba02f05aa622cd54f45da223ef43066bb3 /mail/e-mail-tab-picker.c
parentdcaf6c52082765c2586a7d35b56b3dc417aa988d (diff)
downloadgsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.gz
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.zst
gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.zip
Coding style and whitespace cleanups.
Diffstat (limited to 'mail/e-mail-tab-picker.c')
-rw-r--r--mail/e-mail-tab-picker.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/e-mail-tab-picker.c b/mail/e-mail-tab-picker.c
index 5bf173253a..160a03df6a 100644
--- a/mail/e-mail-tab-picker.c
+++ b/mail/e-mail-tab-picker.c
@@ -111,6 +111,7 @@ e_mail_tab_picker_drop (MxDroppable *droppable,
{
GList *t;
EMailTabPickerProps *tab;
+ ClutterActor *parent;
gint current_position, new_position;
EMailTabPicker *picker = E_MAIL_TAB_PICKER (droppable);
@@ -123,7 +124,8 @@ e_mail_tab_picker_drop (MxDroppable *droppable,
if (!E_MAIL_IS_TAB (draggable))
return;
- if (clutter_actor_get_parent (CLUTTER_ACTOR (draggable)) != (ClutterActor *) picker)
+ parent = clutter_actor_get_parent (CLUTTER_ACTOR (draggable));
+ if (parent != (ClutterActor *) picker)
return;
/* Get current position and property data structure */