From bb44a7f30f0a0742b933b4ecd6122435653a232a Mon Sep 17 00:00:00 2001 From: Viktor Kojouharov Date: Sun, 7 Jun 2009 09:00:05 +0000 Subject: [PATCH] remove all traces of the resize callback function. it iss not needed anymore SVN revision: 40942 --- e_mod_main.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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; -}