[gnome-packagekit] Fix compile with --disable-systemd



commit f7ba8ac01db52c9dc68c6b1eef57182a4696e24f
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jan 20 16:22:49 2014 +0000

    Fix compile with --disable-systemd
    
    Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=722611

 src/gpk-update-viewer.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index b36ed5a..d533491 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -3458,9 +3458,6 @@ main (int argc, char *argv[])
 #ifdef HAVE_SYSTEMD
        if (proxy != NULL)
                systemd_proxy_free (proxy);
-#else
-       if (console != NULL)
-               g_object_unref (console);
 #endif
        if (control != NULL)
                g_object_unref (control);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]