[gtk+/portal] Remove unnecessary clear call
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/portal] Remove unnecessary clear call
- Date: Thu, 7 Jul 2016 03:28:21 +0000 (UTC)
commit 1f810f5109cb9f8adf80250ad3ad5a06e24eface
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 6 20:01:37 2016 -0400
Remove unnecessary clear call
As Cosimo pointed out, client_proxy is already NULL in this
case anyway.
gtk/gtkapplication-dbus.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkapplication-dbus.c b/gtk/gtkapplication-dbus.c
index 844dd03..4336ec5 100644
--- a/gtk/gtkapplication-dbus.c
+++ b/gtk/gtkapplication-dbus.c
@@ -259,7 +259,6 @@ gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
{
g_warning ("Failed to get client proxy: %s", error->message);
g_clear_error (&error);
- g_clear_object (&dbus->client_proxy);
g_free (dbus->client_path);
dbus->client_path = NULL;
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]