From 30a96982c959f9c5d99cbb6e980a938608844dee Mon Sep 17 00:00:00 2001 From: mishas Date: Sun, 15 Apr 2007 07:31:52 +0000 Subject: [PATCH] do not destroy applet's widget: it's done by maemo-af-desktop git-svn-id: file:///svnroot/simple-launcher/trunk@188 3ba93dab-e023-0410-b42a-de7732cf370a --- simple-launcher.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simple-launcher.cc b/simple-launcher.cc index 92657a8..1426f02 100644 --- a/simple-launcher.cc +++ b/simple-launcher.cc @@ -155,12 +155,13 @@ bool SimpleLauncherApplet::doInit(void *state_data, int *state_size) { SimpleLauncherApplet::~SimpleLauncherApplet() { myItems.clear(); - +#if 0 + // This does not seem to be necessary if (myWidget != NULL) { gtk_widget_destroy(myWidget); myWidget = NULL; } - +#endif if (myContext != NULL) { osso_deinitialize(myContext); myContext = NULL; -- 1.7.9.5