do not destroy applet's widget: it's done by maemo-af-desktop
authormishas <mikhail.sobolev@gmail.com>
Sun, 15 Apr 2007 07:31:52 +0000 (07:31 +0000)
committermishas <mikhail.sobolev@gmail.com>
Sun, 15 Apr 2007 07:31:52 +0000 (07:31 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@188 3ba93dab-e023-0410-b42a-de7732cf370a

simple-launcher.cc

index 92657a8..1426f02 100644 (file)
@@ -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;