gnome-settings-daemon r376 - in branches/randr-12: . plugins/xrandr



Author: ssp
Date: Mon Jun 16 18:55:56 2008
New Revision: 376
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=376&view=rev

Log:
Mon Jun 16 14:50:53 2008  SÃren Sandmann  <sandmann redhat com>

	* Port to new gnome-desktop API




Modified:
   branches/randr-12/ChangeLog
   branches/randr-12/plugins/xrandr/gsd-xrandr-manager.c

Modified: branches/randr-12/plugins/xrandr/gsd-xrandr-manager.c
==============================================================================
--- branches/randr-12/plugins/xrandr/gsd-xrandr-manager.c	(original)
+++ branches/randr-12/plugins/xrandr/gsd-xrandr-manager.c	Mon Jun 16 18:55:56 2008
@@ -39,8 +39,8 @@
 
 #define GNOME_DESKTOP_USE_UNSTABLE_API
 
-#include <libgnomeui/monitor-db.h>
-#include <libgnomeui/randrwrap.h>
+#include <libgnomeui/gnome-rr-config.h>
+#include <libgnomeui/gnome-rr.h>
 
 #ifdef HAVE_RANDR
 #include <X11/extensions/Xrandr.h>
@@ -67,7 +67,7 @@
 {
         /* Key code of the fn-F7 video key (XF86Display) */
         guint keycode;
-        RWScreen *rw_screen;
+        GnomeRRScreen *rw_screen;
         gboolean running;
 
         GtkStatusIcon *status_icon;
@@ -103,7 +103,7 @@
 		   GdkEvent   *event,
 		   gpointer    data)
 {
-        RWScreen *screen = data;
+        GnomeRRScreen *screen = data;
         XEvent *ev = (XEvent *)xevent;
         
         if (ev->type == ClientMessage		&&
@@ -146,7 +146,7 @@
 }
 
 static void
-on_randr_event (RWScreen *screen, gpointer data)
+on_randr_event (GnomeRRScreen *screen, gpointer data)
 {
         GsdXrandrManager *manager = GSD_XRANDR_MANAGER (data);
 



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