aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-dbus.c2
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;
}