princeamd pushed a commit to branch enlightenment-0.17.
commit 8647ccdb45f445a761f0513ba597d8e4d4831ee1
Author: Christopher Michael <[email protected]>
Date: Tue Feb 19 10:56:48 2013 +0000
Backport: 055ccc5 :: Remove virtual_size_set code (turns out, it's not
needed).
Signed-off-by: Christopher Michael <[email protected]>
SVN revision: 84151
Signed-off-by: Deon Thomas <[email protected]>
---
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 34a367c..575ca7e 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;
@@ -187,18 +185,6 @@ 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)
-{
- 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)
{
E_Smart_Data *sd;
diff --git a/src/modules/conf_randr/e_smart_monitor.h
b/src/modules/conf_randr/e_smart_monitor.h
index 1bf75ed..5b453d2 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
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev