projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d1fe7
)
GDBusAuth: Handle when no there is no auth observer present
author
David Zeuthen
<davidz@redhat.com>
Sat, 14 Apr 2012 16:40:57 +0000
(12:40 -0400)
committer
David Zeuthen
<davidz@redhat.com>
Sat, 14 Apr 2012 16:40:57 +0000
(12:40 -0400)
I obviously fucked up when adding the ::allow-mechanism signal, sorry.
Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusauth.c
patch
|
blob
|
history
diff --git
a/gio/gdbusauth.c
b/gio/gdbusauth.c
index 8d4723c8fabc9a4b55f7d7df0c02452159cbc929..75e74adbcd09fddda46c40621a85e57664cd137d 100644
(file)
--- a/
gio/gdbusauth.c
+++ b/
gio/gdbusauth.c
@@
-201,7
+201,7
@@
add_mechanism (GDBusAuth *auth,
const gchar *name;
name = _g_dbus_auth_mechanism_get_name (mechanism_type);
- if (g_dbus_auth_observer_allow_mechanism (observer, name))
+ if (
observer == NULL ||
g_dbus_auth_observer_allow_mechanism (observer, name))
{
Mechanism *m;
m = g_new0 (Mechanism, 1);