Remove the config.h include from notifynotification.h.

This commit is contained in:
Christian Hammond 2006-01-19 06:25:16 +00:00
parent 85981b247c
commit 28e0463e75
3 changed files with 6 additions and 9 deletions

View File

@ -1,3 +1,9 @@
Wed Jan 18 22:24:10 PST 2006 Christian Hammond <chipx86@chipx86.com>
* libnotify/notifynotification.h:
* tests/test-xy-stress.c:
- Remove the config.h include from notifynotification.h.
Sun Jan 15 17:52:39 PST 2006 Christian Hammond <chipx86@chipx86.com> Sun Jan 15 17:52:39 PST 2006 Christian Hammond <chipx86@chipx86.com>
* docs/notification-spec.xml: * docs/notification-spec.xml:

View File

@ -18,7 +18,6 @@
#ifndef NOTIFY_NOTIFICATION_H #ifndef NOTIFY_NOTIFICATION_H
#define NOTIFY_NOTIFICATION_H #define NOTIFY_NOTIFICATION_H
#include "config.h"
#include <glib.h> #include <glib.h>
#include <glib-object.h> #include <glib-object.h>

View File

@ -24,10 +24,6 @@
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <dbus/dbus.h>
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
static void static void
_handle_closed(GObject *obj) _handle_closed(GObject *obj)
{ {
@ -82,15 +78,11 @@ int
main(int argc, char **argv) main(int argc, char **argv)
{ {
GMainLoop *loop; GMainLoop *loop;
DBusConnection *conn;
gdk_init(&argc, &argv); gdk_init(&argc, &argv);
notify_init("XY"); notify_init("XY");
conn = dbus_bus_get(DBUS_BUS_SESSION, NULL);
dbus_connection_setup_with_g_main(conn, NULL);
g_timeout_add(1000, _popup_random_bubble, NULL); g_timeout_add(1000, _popup_random_bubble, NULL);
loop = g_main_loop_new(NULL, FALSE); loop = g_main_loop_new(NULL, FALSE);