From 32726ba6d2c68095328d20a39ff45690256d6e9b Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 28 Dec 2011 06:52:59 +0000 Subject: [PATCH] get rid of unused cfdata members SVN revision: 66593 --- .../e_int_config_window_geometry.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/modules/conf_window_manipulation/e_int_config_window_geometry.c b/src/modules/conf_window_manipulation/e_int_config_window_geometry.c index 7bd621e36..ab8a3ce1b 100644 --- a/src/modules/conf_window_manipulation/e_int_config_window_geometry.c +++ b/src/modules/conf_window_manipulation/e_int_config_window_geometry.c @@ -22,11 +22,11 @@ struct _E_Config_Dialog_Data double timeout; struct { - int dx, dy; + int dx; } move; struct { - int dx, dy; + int dx; } resize; } border_keyboard; @@ -69,9 +69,7 @@ _create_data(E_Config_Dialog *cfd __UNUSED__) cfdata->geometry_auto_move = e_config->geometry_auto_move; cfdata->border_keyboard.timeout = e_config->border_keyboard.timeout; cfdata->border_keyboard.move.dx = e_config->border_keyboard.move.dx; -// cfdata->border_keyboard.move.dy = e_config->border_keyboard.move.dy; cfdata->border_keyboard.resize.dx = e_config->border_keyboard.resize.dx; -// cfdata->border_keyboard.resize.dy = e_config->border_keyboard.resize.dy; return cfdata; } @@ -93,10 +91,8 @@ _basic_apply(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfdata) e_config->geometry_auto_move = cfdata->geometry_auto_move; e_config->border_keyboard.timeout = cfdata->border_keyboard.timeout; e_config->border_keyboard.move.dx = cfdata->border_keyboard.move.dx; -// e_config->border_keyboard.move.dy = cfdata->border_keyboard.move.dy; e_config->border_keyboard.move.dy = cfdata->border_keyboard.move.dx; e_config->border_keyboard.resize.dx = cfdata->border_keyboard.resize.dx; -// e_config->border_keyboard.resize.dy = cfdata->border_keyboard.resize.dy; e_config->border_keyboard.resize.dy = cfdata->border_keyboard.resize.dx; e_config_save_queue(); return 1; /* Apply was OK */