diff -Naur xfce4-notifyd-0.1.0/xfce4-notifyd/xfce-notify-daemon.c xfce4-notifyd-0.1.0.tpg/xfce4-notifyd/xfce-notify-daemon.c --- xfce4-notifyd-0.1.0/xfce4-notifyd/xfce-notify-daemon.c 2008-09-21 07:28:50.000000000 +0000 +++ xfce4-notifyd-0.1.0.tpg/xfce4-notifyd/xfce-notify-daemon.c 2009-05-24 15:55:55.000000000 +0000 @@ -125,15 +125,10 @@ G_SIGNAL_RUN_LAST, 0, NULL, NULL, - g_cclosure_marshal_VOID__UINT, - G_TYPE_NONE, 1, - G_TYPE_UINT); -#if 0 /* it seems libnotify doesn't support the close-reason arg */ xfce_notify_marshal_VOID__UINT_UINT, G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_UINT); -#endif signals[SIG_ACTION_INVOKED] = g_signal_new("action-invoked", XFCE_TYPE_NOTIFY_DAEMON, G_SIGNAL_RUN_LAST, @@ -215,9 +210,7 @@ g_tree_remove(daemon->active_notifications, id_p); g_signal_emit(G_OBJECT(daemon), signals[SIG_NOTIFICATION_CLOSED], 0, - GPOINTER_TO_UINT(id_p)); - /* NOTE: libnotify doesn't support the close-reason argument to - * the signal. not sure why. */ + GPOINTER_TO_UINT(id_p), reason); } static void