summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2003-02-01 22:02:27 +0000
committerAlexander Larsson <alexl@redhat.com>2003-02-01 22:02:27 +0000
commitf023895590208ea70ff7ac7444cc5e0729a3a815 (patch)
treebf2355d54ac5f08d40cd60963e33c5928b2897fa /glib
parentdbc4c0ca13fcc1cdf2be6c35a4559bc456243acb (diff)
downloaddbus-f023895590208ea70ff7ac7444cc5e0729a3a815.tar.gz
2003-02-02 Alexander Larsson <alexl@redhat.com>
* dbus/dbus-watch.c (dbus_watch_get_flags): Add note in the docs that ERROR or HANGUP won't be returned and are assumed always on. * glib/dbus-gmain.c (add_watch): Always add IO_ERR | IO_HUP * dbus/dbus-message.h: Add semicolon after dbus_message_iter_get_string_array(). Makes qt code build again
Diffstat (limited to 'glib')
-rw-r--r--glib/dbus-gmain.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c
index 5766139d..c5197e5e 100644
--- a/glib/dbus-gmain.c
+++ b/glib/dbus-gmain.c
@@ -148,10 +148,7 @@ add_watch (DBusWatch *watch,
poll_fd->events |= G_IO_IN;
if (flags & DBUS_WATCH_WRITABLE)
poll_fd->events |= G_IO_OUT;
- if (flags & DBUS_WATCH_ERROR)
- poll_fd->events |= G_IO_ERR;
- if (flags & DBUS_WATCH_HANGUP)
- poll_fd->events |= G_IO_HUP;
+ poll_fd->events |= G_IO_ERR | G_IO_HUP;
g_source_add_poll ((GSource *)dbus_source, poll_fd);