diff --git a/e_mod_main.c b/e_mod_main.c index 78e5c80..b84ed2c 100644 --- a/e_mod_main.c +++ b/e_mod_main.c @@ -76,7 +76,6 @@ static void _mpdule_disconnect (Instance * inst); static void _mpdule_update_song (Instance * inst); static int _mpdule_update_song_cb (void *data); static void _mpdule_popup_destroy (Instance * inst); -static void _mpdule_popup_resize (Evas_Object * obj, int *w, int *h); static E_Gadcon_Client * _gc_init (E_Gadcon * gc, const char *name, const char *id, const char *style) @@ -107,7 +106,7 @@ _gc_init (E_Gadcon * gc, const char *name, const char *id, const char *style) inst->gcc = gcc; inst->mpdule = o; - inst->popup = e_gadcon_popup_new (inst->gcc, _mpdule_popup_resize); + inst->popup = e_gadcon_popup_new (inst->gcc); evas = inst->popup->win->evas; o_popup = edje_object_add (evas); @@ -778,16 +777,3 @@ _mpdule_popup_destroy (Instance * inst) return; e_object_del (E_OBJECT (inst->popup)); } - -static void -_mpdule_popup_resize (Evas_Object * obj, int *w, int *h) -{ - int x, y; - if (!(*w)) - *w = 0; - if (!(*h)) - *h = 0; - edje_object_size_min_calc (obj, &x, &y); - *w = x; - *h = y; -}