From 8d84c6e9cc59a3e8a98799c69ef0b17b70acf22c Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 2 Oct 2012 08:40:14 +0000 Subject: [PATCH] E (RandR): Remove start_rotation from structure (not needed). Remove some unused variables. SVN revision: 77287 --- src/modules/conf_randr/e_smart_monitor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 2c81c5030..8599a7b6b 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -59,7 +59,7 @@ struct _E_Smart_Data Ecore_X_Randr_Orientation orientation; /* current rotation */ - int rotation, start_rotation; + int rotation; /* container number (for bg preview) */ int con; @@ -698,7 +698,6 @@ _e_smart_cb_rotate_start(void *data, Evas_Object *obj __UNUSED__, const char *em if (!(sd = evas_object_smart_data_get(mon))) return; sd->rotating = EINA_TRUE; - sd->start_rotation = _e_smart_monitor_rotation_get(sd->orientation); sd->rotation = 0; e_layout_child_raise(mon); @@ -954,7 +953,7 @@ static void _e_smart_monitor_rotate_snap(Evas_Object *obj) { E_Smart_Data *sd; - Evas_Coord w, h, nw, nh; + Evas_Coord nw, nh; if (!(sd = evas_object_smart_data_get(obj))) return;