diff --git a/ChangeLog b/ChangeLog index 6b9d997..ec91d65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jul 04 13:46:32 PDT 2004 Christian Hammond + + * tools/notify-send.c: + - Don't initialize the library until we're ready to talk to it. + Sun Jul 04 13:34:14 PDT 2004 Christian Hammond * libnotify/notify.c: diff --git a/libnotify/notify.c b/libnotify/notify.c index 3846da1..8c17755 100644 --- a/libnotify/notify.c +++ b/libnotify/notify.c @@ -182,16 +182,16 @@ _notify_dbus_message_iter_get_string_or_nil(DBusMessageIter *iter) } #endif +#if 0 static void _notify_dbus_message_iter_append_app_info(DBusMessageIter *iter) { g_return_if_fail(iter != NULL); -#if 0 dbus_message_iter_append_string(iter, _app_name); dbus_message_iter_append_nil(iter); /* App Icon */ -#endif } +#endif static DBusHandlerResult _filter_func(DBusConnection *dbus_conn, DBusMessage *message, void *user_data) @@ -612,7 +612,9 @@ notify_send_notification_varg(NotifyUrgency urgency, const char *summary, g_return_val_if_fail(message != NULL, 0); +#if 0 _notify_dbus_message_iter_append_app_info(&iter); +#endif dbus_message_iter_append_byte(&iter, urgency); dbus_message_iter_append_string(&iter, summary); _notify_dbus_message_iter_append_string_or_nil(&iter, detailed);