summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-embed-shell.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 360bffdd7..e5f447a72 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -525,12 +525,9 @@ initialize_web_extensions (WebKitWebContext* web_context,
static void
ephy_embed_shell_setup_web_extensions_connection (EphyEmbedShell *shell)
{
- GError *error = NULL;
-
shell->priv->bus = g_application_get_dbus_connection (G_APPLICATION (shell));
if (!shell->priv->bus) {
- g_warning ("Application not connected to session bus: %s\n", error->message);
- g_error_free (error);
+ g_warning ("Application not connected to session bus");
return;
}