From: Vlad Date: Mon, 26 Jul 2010 13:56:56 +0000 (+0300) Subject: fixed applet crashing X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=f229b93bf39783e7349dc9108883863f33099fba;p=livewp fixed applet crashing --- diff --git a/applet/src/livewp-dbus.c b/applet/src/livewp-dbus.c index e28ea36..02a3cb3 100644 --- a/applet/src/livewp-dbus.c +++ b/applet/src/livewp-dbus.c @@ -178,7 +178,6 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper quit_from_program(priv); } -#endif //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"); @@ -190,6 +189,7 @@ get_livewp_signal_cb(DBusConnection *conn, DBusMessage *msg, Animation_Wallpaper //read_notification(priv->desktop_plugin); priv->scene->notification = time(NULL) + 5; } +#endif return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; }