[gnome-desktop] Fix a critial warning when connecting and disconnecting outputs



commit b9d0e13899c078b41cf5340e1a77b5157a463495
Author: Richard Hughes <richard hughsie com>
Date:   Sun Jun 12 13:53:42 2011 +0100

    Fix a critial warning when connecting and disconnecting outputs
    
    We can't treat these like objects at all, so lets use straightforward pointers.

 libgnome-desktop/gnome-rr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index b400da8..066dc4f 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -931,7 +931,7 @@ gnome_rr_screen_class_init (GnomeRRScreenClass *klass)
             NULL,
             g_cclosure_marshal_VOID__POINTER,
             G_TYPE_NONE,
-            1, GNOME_TYPE_RR_OUTPUT);
+            1, G_TYPE_POINTER);
 
     /**
      * GnomeRRScreen::output-disconnected:
@@ -959,7 +959,7 @@ gnome_rr_screen_class_init (GnomeRRScreenClass *klass)
             NULL,
             g_cclosure_marshal_VOID__POINTER,
             G_TYPE_NONE,
-            1, GNOME_TYPE_RR_OUTPUT);
+            1, G_TYPE_POINTER);
 }
 
 void



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