Remove dnd files. Handled it differently.

SVN revision: 44495
This commit is contained in:
Christopher Michael 2009-12-16 02:22:34 +00:00
parent 123a6e786e
commit 327fef16fd
4 changed files with 1 additions and 48 deletions

View File

@ -40,9 +40,7 @@ module_la_SOURCES = e_mod_main.h \
e_mod_policy_settings.h \
e_mod_policy_settings.c \
e_mod_gadcon.h \
e_mod_gadcon.c \
e_mod_dnd.h \
e_mod_dnd.c
e_mod_gadcon.c
module_la_LIBADD = @e_libs@ @dlopen_libs@
module_la_LDFLAGS = -module -avoid-version

View File

@ -1,27 +0,0 @@
#include "e.h"
#include "e_mod_main.h"
#include "e_mod_dnd.h"
/* local function prototypes */
/* local variables */
static Eina_List *handlers = NULL;
/* public functions */
EAPI int
e_mod_dnd_init(void)
{
E_Zone *z;
z = e_util_container_zone_number_get(0, 0);
return 1;
}
EAPI int
e_mod_dnd_shutdown(void)
{
return 1;
}
/* local functions */

View File

@ -1,7 +0,0 @@
#ifndef E_MOD_DND_H
#define E_MOD_DND_H
EAPI int e_mod_dnd_init(void);
EAPI int e_mod_dnd_shutdown(void);
#endif

View File

@ -4,7 +4,6 @@
#include "e_mod_layout.h"
#include "e_kbd.h"
#include "e_mod_gadcon.h"
#include "e_mod_dnd.h"
/* local variables */
static E_Kbd *kbd = NULL;
@ -22,13 +21,6 @@ e_modapi_init(E_Module *m)
/* init the config subsystem */
if (!il_config_init(m)) return NULL;
/* init the drag-n-drop subsystem */
if (!e_mod_dnd_init())
{
il_config_shutdown();
return NULL;
}
/* init the gadcon subsystem for adding a "button" to any gadget container
* which will allow easy switching between policy app modes */
e_mod_gadcon_init();
@ -68,9 +60,6 @@ e_modapi_shutdown(E_Module *m)
/* shutdown the gadget subsystem */
e_mod_gadcon_shutdown();
/* shutdown the dnd subsystem */
e_mod_dnd_shutdown();
/* shutdown the config subsystem */
il_config_shutdown();