arggg E17 still shows popup whenever it restarts. http://imagebin.org/227291 It's too late today, I will figure it out why tomorrow.
Daniel Juyung Seo (SeoZ) On Thu, Sep 6, 2012 at 1:47 AM, Enlightenment SVN <no-re...@enlightenment.org> wrote: > Log: > revert gadcon event thingy, this causes a stupid gadman bug crash which takes > more than 5 mins to fix > > > Author: discomfitor > Date: 2012-09-05 09:47:16 -0700 (Wed, 05 Sep 2012) > New Revision: 76203 > Trac: http://trac.enlightenment.org/e/changeset/76203 > > Modified: > trunk/e/src/bin/e_gadcon.c trunk/e/src/bin/e_gadcon.h > > Modified: trunk/e/src/bin/e_gadcon.c > =================================================================== > --- trunk/e/src/bin/e_gadcon.c 2012-09-05 16:06:35 UTC (rev 76202) > +++ trunk/e/src/bin/e_gadcon.c 2012-09-05 16:47:16 UTC (rev 76203) > @@ -83,7 +83,6 @@ > static void _e_gadcon_provider_populate_unrequest(const > E_Gadcon_Client_Class *cc); > static Eina_Bool _e_gadcon_provider_populate_idler(void > *data); > static Eina_Bool _e_gadcon_custom_populate_idler(void *data); > -static void _e_gadcon_event_end(void *data, void *ev); > > static int _e_gadcon_location_change(E_Gadcon_Client > *gcc, E_Gadcon_Location *src, E_Gadcon_Location *dst); > > @@ -182,9 +181,6 @@ > > /********************/ > > -EAPI int E_EVENT_GADCON_POPULATE = -1; > -EAPI int E_EVENT_GADCON_UNPOPULATE = -1; > - > static Eina_Hash *providers = NULL; > static Eina_List *providers_list = NULL; > static Eina_List *gadcons = NULL; > @@ -224,8 +220,6 @@ > EINTERN int > e_gadcon_init(void) > { > - E_EVENT_GADCON_POPULATE = ecore_event_type_new(); > - E_EVENT_GADCON_UNPOPULATE = ecore_event_type_new(); > _module_init_end_handler = > ecore_event_handler_add(E_EVENT_MODULE_INIT_END, _module_init_end_cb, NULL); > return 1; > } > @@ -526,7 +520,6 @@ > Eina_List *l; > E_Config_Gadcon_Client *cf_gcc; > Eina_Bool ret = EINA_TRUE; > - E_Event_Gadcon_Populate *ev; > > E_OBJECT_CHECK(gc); > E_OBJECT_TYPE_CHECK(gc, E_GADCON_TYPE); > @@ -554,10 +547,6 @@ > e_gadcon_client_queue(gc, cf_gcc); > } > e_gadcon_layout_thaw(gc->o_container); > - ev = E_NEW(E_Event_Gadcon_Populate, 1); > - ev->gadcon = gc; > - e_object_ref(E_OBJECT(gc)); > - ecore_event_add(E_EVENT_GADCON_POPULATE, ev, _e_gadcon_event_end, NULL); > return EINA_TRUE; > } > > @@ -565,7 +554,6 @@ > e_gadcon_unpopulate(E_Gadcon *gc) > { > E_Gadcon_Client *gcc; > - E_Event_Gadcon_Populate *ev; > > E_OBJECT_CHECK(gc); > E_OBJECT_TYPE_CHECK(gc, E_GADCON_TYPE); > @@ -578,10 +566,6 @@ > if (gc->awaiting_classes) > eina_hash_free(gc->awaiting_classes); > gc->awaiting_classes = NULL; > - ev = E_NEW(E_Event_Gadcon_Populate, 1); > - ev->gadcon = gc; > - e_object_ref(E_OBJECT(gc)); > - ecore_event_add(E_EVENT_GADCON_UNPOPULATE, ev, _e_gadcon_event_end, NULL); > } > > EAPI void > @@ -5276,14 +5260,6 @@ > } > } > > -static void > -_e_gadcon_event_end(void *data __UNUSED__, void *event) > -{ > - E_Event_Gadcon_Populate *ev = event; > - e_object_unref(E_OBJECT(ev->gadcon)); > - free(ev); > -} > - > static Eina_Bool > _e_gadcon_custom_populate_idler(void *data __UNUSED__) > { > > Modified: trunk/e/src/bin/e_gadcon.h > =================================================================== > --- trunk/e/src/bin/e_gadcon.h 2012-09-05 16:06:35 UTC (rev 76202) > +++ trunk/e/src/bin/e_gadcon.h 2012-09-05 16:47:16 UTC (rev 76203) > @@ -1,8 +1,5 @@ > #ifdef E_TYPEDEFS > > -EAPI extern int E_EVENT_GADCON_POPULATE; > -EAPI extern int E_EVENT_GADCON_UNPOPULATE; > - > #define E_GADCON_CLIENT(x) ((E_Gadcon_Client *)(x)) > > /* different layout policies - only 1 supported for now */ > @@ -49,9 +46,6 @@ > typedef struct _E_Gadcon_Client_Class E_Gadcon_Client_Class; > typedef struct _E_Gadcon_Location E_Gadcon_Location; > > -typedef struct _E_Event_Gadcon E_Event_Gadcon_Populate; > -typedef struct _E_Event_Gadcon E_Event_Gadcon_Unpopulate; > - > #else > #ifndef E_GADCON_H > #define E_GADCON_H > @@ -132,11 +126,6 @@ > unsigned char dummy : 1; > }; > > -struct _E_Event_Gadcon > -{ > - E_Gadcon *gadcon; > -}; > - > #define GADCON_CLIENT_CLASS_VERSION 3 > /* Version 3 add the *client_class param to icon(),label(),id_new(), > id_del() */ > /* and the *orient param to orient() */ > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel