- Flush the D-BUS connection queue on uninit so that messages go through and so we don't trigger this ugly little warning on D-BUS 0.3x.
- Fix a compiler warning on gcc4.
This commit is contained in:
parent
a6949ef276
commit
ca4d385fa6
|
@ -1,3 +1,12 @@
|
||||||
|
Mon Jul 25 18:00:12 PDT 2005 Christian Hammond <chipx86@gnupdate.org>
|
||||||
|
|
||||||
|
* libnotify/notify.c:
|
||||||
|
* tests/test-animation.c:
|
||||||
|
- Flush the D-BUS connection queue on uninit so that messages go
|
||||||
|
through and so we don't trigger this ugly little warning on
|
||||||
|
D-BUS 0.3x.
|
||||||
|
- Fix a compiler warning on gcc4.
|
||||||
|
|
||||||
Wed Jul 27 02:12:31 PDT 2005 Christian Hammond <chipx86@chipx86.com>
|
Wed Jul 27 02:12:31 PDT 2005 Christian Hammond <chipx86@chipx86.com>
|
||||||
|
|
||||||
* libnotify/notify.c:
|
* libnotify/notify.c:
|
||||||
|
|
|
@ -322,6 +322,7 @@ _notify_disconnect(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
dbus_connection_disconnect(_dbus_conn);
|
dbus_connection_disconnect(_dbus_conn);
|
||||||
|
dbus_connection_dispatch(_dbus_conn);
|
||||||
dbus_connection_unref(_dbus_conn);
|
dbus_connection_unref(_dbus_conn);
|
||||||
|
|
||||||
_dbus_conn = NULL;
|
_dbus_conn = NULL;
|
||||||
|
|
|
@ -84,7 +84,7 @@ int main()
|
||||||
|
|
||||||
g_assert(error == NULL);
|
g_assert(error == NULL);
|
||||||
|
|
||||||
notify_icon_add_frame_from_data(icon, size, pngdata);
|
notify_icon_add_frame_from_data(icon, size, (guchar *)pngdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
NotifyHandle *n = notify_send_notification(NULL, // replaces nothing
|
NotifyHandle *n = notify_send_notification(NULL, // replaces nothing
|
||||||
|
|
Loading…
Reference in New Issue