From 055ccc581e9218d663ff68ff073ee6b8bb27a470 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 19 Feb 2013 10:56:48 +0000 Subject: [PATCH] Remove virtual_size_set code (turns out, it's not needed). Signed-off-by: Christopher Michael SVN revision: 84151 --- src/modules/conf_randr/e_smart_monitor.c | 14 -------------- src/modules/conf_randr/e_smart_monitor.h | 1 - 2 files changed, 15 deletions(-) diff --git a/src/modules/conf_randr/e_smart_monitor.c b/src/modules/conf_randr/e_smart_monitor.c index 34a367ce1..575ca7eca 100644 --- a/src/modules/conf_randr/e_smart_monitor.c +++ b/src/modules/conf_randr/e_smart_monitor.c @@ -12,8 +12,6 @@ struct _E_Smart_Data /* geometry */ int x, y, w, h; - Evas_Coord vw, vh; - struct { Evas_Coord mode_width, mode_height; @@ -186,18 +184,6 @@ e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output) sd->min.mode_height = mode->height; } -void -e_smart_monitor_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh) -{ - E_Smart_Data *sd; - - /* try to get the objects smart data */ - if (!(sd = evas_object_smart_data_get(obj))) return; - - sd->vw = vw; - sd->vh = vh; -} - void e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid) { diff --git a/src/modules/conf_randr/e_smart_monitor.h b/src/modules/conf_randr/e_smart_monitor.h index 1bf75ed4a..5b453d29a 100644 --- a/src/modules/conf_randr/e_smart_monitor.h +++ b/src/modules/conf_randr/e_smart_monitor.h @@ -6,7 +6,6 @@ Evas_Object *e_smart_monitor_add(Evas *evas); void e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc); void e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output); -void e_smart_monitor_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh); void e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid); # endif