diff options
author | Christian Persch <chpe@svn.gnome.org> | 2007-01-29 04:31:13 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-01-29 04:31:13 +0800 |
commit | 91c584832a6703fc1435922117bc0e9f6d9b1c1c (patch) | |
tree | ff12e2a3a55e8e1cd227966dc11c84fa67827a0f /src/ephy-dbus.c | |
parent | 2016fd2956a57771102bda6bcc85972110c47e43 (diff) | |
download | gsoc2013-epiphany-91c584832a6703fc1435922117bc0e9f6d9b1c1c.tar gsoc2013-epiphany-91c584832a6703fc1435922117bc0e9f6d9b1c1c.tar.gz gsoc2013-epiphany-91c584832a6703fc1435922117bc0e9f6d9b1c1c.tar.bz2 gsoc2013-epiphany-91c584832a6703fc1435922117bc0e9f6d9b1c1c.tar.lz gsoc2013-epiphany-91c584832a6703fc1435922117bc0e9f6d9b1c1c.tar.xz gsoc2013-epiphany-91c584832a6703fc1435922117bc0e9f6d9b1c1c.tar.zst gsoc2013-epiphany-91c584832a6703fc1435922117bc0e9f6d9b1c1c.zip |
Fix error condition check.
2007-01-28 Christian Persch <chpe@svn.gnome.org>
* src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus):
Fix error condition check.
svn path=/trunk/; revision=6862
Diffstat (limited to 'src/ephy-dbus.c')
-rw-r--r-- | src/ephy-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-dbus.c b/src/ephy-dbus.c index c365d02d1..9299bb2dd 100644 --- a/src/ephy-dbus.c +++ b/src/ephy-dbus.c @@ -245,7 +245,7 @@ ephy_dbus_connect_to_session_bus (EphyDbus *ephy_dbus, priv->session_bus = dbus_g_bus_get (DBUS_BUS_SESSION, error); if (priv->session_bus == NULL) { - g_warning("Unable to connect to session bus: %s", error ? (*error)->message : ""); + g_warning("Unable to connect to session bus: %s", error && *error ? (*error)->message : ""); return FALSE; } |