fixed problem with dbus
authorVlad Vasiliev <vlad@toshiba2.oblgaz>
Fri, 30 Apr 2010 13:19:33 +0000 (16:19 +0300)
committerVlad Vasiliev <vlad@toshiba2.oblgaz>
Fri, 30 Apr 2010 13:19:33 +0000 (16:19 +0300)
applet/src/livewp-dbus.c
applet/src/livewp-home-widget.c

index 6884d82..50ef311 100644 (file)
@@ -64,9 +64,7 @@ livewp_initialize_dbus(Animation_WallpaperPrivate *priv){
 /*******************************************************************************/
 void
 livewp_deinitialize_dbus(Animation_WallpaperPrivate *priv){
-#ifdef DEBUGFUNCTIONCALL
-    START_FUNCTION;
-#endif
+
     gchar       *filter_string;
     DBusError   error;
 
index d7412bb..d0623ef 100644 (file)
@@ -544,7 +544,8 @@ lw_applet_finalize (GObject *object)
 {
      AWallpaperPlugin *desktop_plugin = Animation_Wallpaper_HOME_PLUGIN (object);
      Animation_WallpaperPrivate *priv = desktop_plugin->priv;
-     
+
+     livewp_deinitialize_dbus(priv);
      fprintf(stderr,"finalaze %i\n", priv->long_timer);
      if (priv->long_timer){
         g_source_remove(priv->long_timer);