Don't initialize the library until we're ready to talk to it.
This commit is contained in:
parent
b7208624ca
commit
216d1eaf74
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Jul 04 13:46:32 PDT 2004 Christian Hammond <chipx86@gnupdate.org>
|
||||||
|
|
||||||
|
* 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 <chipx86@gnupdate.org>
|
Sun Jul 04 13:34:14 PDT 2004 Christian Hammond <chipx86@gnupdate.org>
|
||||||
|
|
||||||
* libnotify/notify.c:
|
* libnotify/notify.c:
|
||||||
|
|
|
@ -182,16 +182,16 @@ _notify_dbus_message_iter_get_string_or_nil(DBusMessageIter *iter)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void
|
static void
|
||||||
_notify_dbus_message_iter_append_app_info(DBusMessageIter *iter)
|
_notify_dbus_message_iter_append_app_info(DBusMessageIter *iter)
|
||||||
{
|
{
|
||||||
g_return_if_fail(iter != NULL);
|
g_return_if_fail(iter != NULL);
|
||||||
|
|
||||||
#if 0
|
|
||||||
dbus_message_iter_append_string(iter, _app_name);
|
dbus_message_iter_append_string(iter, _app_name);
|
||||||
dbus_message_iter_append_nil(iter); /* App Icon */
|
dbus_message_iter_append_nil(iter); /* App Icon */
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static DBusHandlerResult
|
static DBusHandlerResult
|
||||||
_filter_func(DBusConnection *dbus_conn, DBusMessage *message, void *user_data)
|
_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);
|
g_return_val_if_fail(message != NULL, 0);
|
||||||
|
|
||||||
|
#if 0
|
||||||
_notify_dbus_message_iter_append_app_info(&iter);
|
_notify_dbus_message_iter_append_app_info(&iter);
|
||||||
|
#endif
|
||||||
dbus_message_iter_append_byte(&iter, urgency);
|
dbus_message_iter_append_byte(&iter, urgency);
|
||||||
dbus_message_iter_append_string(&iter, summary);
|
dbus_message_iter_append_string(&iter, summary);
|
||||||
_notify_dbus_message_iter_append_string_or_nil(&iter, detailed);
|
_notify_dbus_message_iter_append_string_or_nil(&iter, detailed);
|
||||||
|
|
Loading…
Reference in New Issue