debuging
authortanya <tanyshk@gmail.com>
Fri, 30 Jul 2010 11:29:25 +0000 (14:29 +0300)
committertanya <tanyshk@gmail.com>
Fri, 30 Jul 2010 11:29:25 +0000 (14:29 +0300)
applet/src/livewp-dbus.c
applet/src/livewp-home-widget.c
applet/src/livewp-main.c

index a67230a..06d9584 100644 (file)
@@ -73,6 +73,7 @@ livewp_deinitialize_dbus(Animation_WallpaperPrivate *priv){
     gchar       *filter_string;
     DBusError   error;
 
+fprintf(stderr,"dddddddddddddddddddd\n");
     if (priv->dbus_conn_session){
         filter_string =
                 g_strdup_printf("type='signal', interface='%s'", LIVEWP_SIGNAL_INTERFACE);
@@ -90,6 +91,7 @@ livewp_deinitialize_dbus(Animation_WallpaperPrivate *priv){
         }
 
          g_free(filter_string);
+         /*
          filter_string =
                 g_strdup_printf("type='signal', interface='%s'", NOTIFY_SIGNAL_INTERFACE);
 
@@ -106,7 +108,7 @@ livewp_deinitialize_dbus(Animation_WallpaperPrivate *priv){
         }
 
          g_free(filter_string);
-
+*/
     }
 
 }
@@ -156,7 +158,7 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper
     fprintf (stderr, "APPLET PATH11111111111111111111 %s %s %s\n",   dbus_message_get_path(msg),   dbus_message_get_interface (msg), dbus_message_get_member (msg)); 
 #endif
 #endif
-
+fprintf(stderr, "ddddasddddddddddddddddddddddda!!!!!!!!!!!!!!!\n");
     if (!priv)
         return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
 
index eb162ff..4bcb1c9 100644 (file)
@@ -393,7 +393,7 @@ run_long_timeout(AWallpaperPlugin *desktop_plugin)
     }
    
     now = time(NULL);
-    fprintf(stderr, "Now  %d\n", now);
+    //fprintf(stderr, "Now  %d\n", now);
     tmp = desktop_plugin->priv->scene->actors;
     while (tmp != NULL){
         actor = tmp->data;
index 34c7130..8ecfc6b 100644 (file)
@@ -69,6 +69,7 @@ void set_live_bg (Display *display, Window xwindow, int mode)
 void
 view_state_changed (Animation_WallpaperPrivate *priv)
 {
+   fprintf(stderr," VIew %i State %i\n", priv->view, priv->visible);
    if (priv->visible){
        if (!priv->running){
             if (!strcmp(priv->theme, "Xsnow")){
@@ -145,7 +146,8 @@ quit_from_program (Animation_WallpaperPrivate *priv)
          priv->desktop_plugin = NULL;
          g_free(priv);
          priv = NULL;
-     }
+     } 
+     fprintf(stderr,"end of quit_from_program\n");
      gtk_main_quit();;
 }
 /*******************************************************************************/