From: Vlad Date: Thu, 20 May 2010 11:56:38 +0000 (+0300) Subject: changed dbus method X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=059fcbc564110b30cbe1a0f68b0c111a6112dcbd;p=livewp changed dbus method --- diff --git a/applet/src/livewp-dbus.c b/applet/src/livewp-dbus.c index 98d8e3a..8c5871f 100644 --- a/applet/src/livewp-dbus.c +++ b/applet/src/livewp-dbus.c @@ -150,7 +150,8 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper #endif } } - if (dbus_message_is_signal(msg, NOTIFY_SIGNAL_INTERFACE, NOTIFY_MEMBER)){ + fprintf(stderr, "Type %i\n", dbus_message_get_type (msg)); + if (dbus_message_is_method_call(msg, NOTIFY_SIGNAL_INTERFACE, NOTIFY_MEMBER)){ fprintf(stderr,"read notifications.db notify\n"); //read_notification(priv->desktop_plugin); priv->scene->notification = TRUE;