From 7a4ab7417a83e161148803877579356538f4da7d Mon Sep 17 00:00:00 2001 From: Davide Andreoli Date: Mon, 16 Jan 2012 21:54:53 +0000 Subject: [PATCH] Revert a 13 months old commit by englebass Messagge was: module unload will delete gadcons, so we need to cleanup in gadman as well. This cause all my gadget to be deleted when I switch from 1 monitor to 2 monitors (while e is running). This probably occcur also when switching resolution. Also I don't like all the gadgets configs to be deleted when the gadman module is unloaded, we have a conservative approch with gadget config, so don't see the reason to delete all my gadget here. DaveMDS SVN revision: 67251 --- src/modules/gadman/e_mod_gadman.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c index 375cb77f7..a492c0343 100644 --- a/src/modules/gadman/e_mod_gadman.c +++ b/src/modules/gadman/e_mod_gadman.c @@ -188,7 +188,6 @@ gadman_gadget_place(E_Config_Gadcon_Client *cf, Gadman_Layer_Type layer, E_Zone /* init Gadcon_Client */ gcc = cc->func.init(gc, cf->name, cf->id, cc->default_style); if (!gcc) return NULL; - e_object_del_func_set(E_OBJECT(gcc), E_OBJECT_CLEANUP_FUNC(gadman_gadget_del)); gcc->cf = cf; gcc->client_class = cc;