Tiling2: Moved a function to a better location.

This commit is contained in:
Tom Hacohen 2014-02-12 11:55:14 +00:00
parent 08947d8220
commit 3294d8e562
1 changed files with 7 additions and 6 deletions

View File

@ -49,12 +49,6 @@ static void _foreach_desk(void (*func)(E_Desk *desk));
static E_Gadcon_Client *_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style);
static void _gc_shutdown(E_Gadcon_Client *gcc);
static void _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient);
static void
_tiling_cb_menu_configure(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
{
// FIXME here need to be some checks and return ?
e_int_config_tiling_module(NULL, NULL);
}
static const char *_gc_label(const E_Gadcon_Client_Class *client_class EINA_UNUSED);
static Evas_Object *_gc_icon(const E_Gadcon_Client_Class *client_class EINA_UNUSED, Evas *evas);
@ -1480,6 +1474,13 @@ _gadget_icon_set(Instance *inst)
}
}
static void
_tiling_cb_menu_configure(void *data EINA_UNUSED, E_Menu *m EINA_UNUSED, E_Menu_Item *mi EINA_UNUSED)
{
// FIXME here need to be some checks and return ?
e_int_config_tiling_module(NULL, NULL);
}
static void
_gadget_mouse_down_cb(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{