[Spice-commits] gtk/desktop-integration.c

Marc-André Lureau elmarco at kemper.freedesktop.org
Sun Jul 8 08:02:27 PDT 2012


 gtk/desktop-integration.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 266773c5fbbcc20a695ac8dc20437a33ad4314e1
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date:   Sun Jul 8 17:01:17 2012 +0200

    unused variable 'self' if !USE_USB
    
    CC     spice-widget-enums.lo
    desktop-integration.c: In function 'spice_desktop_integration_dispose':
    desktop-integration.c:175:30: error: unused variable 'self'
    [-Werror=unused-variable]

diff --git a/gtk/desktop-integration.c b/gtk/desktop-integration.c
index 34cfdad..9261406 100644
--- a/gtk/desktop-integration.c
+++ b/gtk/desktop-integration.c
@@ -172,9 +172,9 @@ static void spice_desktop_integration_init(SpiceDesktopIntegration *self)
 
 static void spice_desktop_integration_dispose(GObject *gobject)
 {
+#ifdef USE_DBUS
     SpiceDesktopIntegration *self = SPICE_DESKTOP_INTEGRATION(gobject);
 
-#ifdef USE_DBUS
     gnome_integration_dispose(self);
 #endif
 


More information about the Spice-commits mailing list