[gnome-desktop] gnome-rr: Remove deprecated functions



commit 6c8506d87fb231b0ab5f7c4e75260ddcda812154
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 9 02:02:09 2011 +0100

    gnome-rr: Remove deprecated functions
    
    Seeing as the only users are in the GNOME stack that we control.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658623

 libgnome-desktop/gnome-rr.c |   15 ---------------
 libgnome-desktop/gnome-rr.h |   11 -----------
 2 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
index d5f0590..53c25d9 100644
--- a/libgnome-desktop/gnome-rr.c
+++ b/libgnome-desktop/gnome-rr.c
@@ -2131,21 +2131,6 @@ xrotation_from_rotation (GnomeRRRotation r)
     return result;
 }
 
-#ifndef GNOME_DISABLE_DEPRECATED_SOURCE
-gboolean
-gnome_rr_crtc_set_config (GnomeRRCrtc      *crtc,
-			  int               x,
-			  int               y,
-			  GnomeRRMode      *mode,
-			  GnomeRRRotation   rotation,
-			  GnomeRROutput   **outputs,
-			  int               n_outputs,
-			  GError          **error)
-{
-    return gnome_rr_crtc_set_config_with_time (crtc, GDK_CURRENT_TIME, x, y, mode, rotation, outputs, n_outputs, error);
-}
-#endif
-
 gboolean
 gnome_rr_crtc_set_config_with_time (GnomeRRCrtc      *crtc,
 				    guint32           timestamp,
diff --git a/libgnome-desktop/gnome-rr.h b/libgnome-desktop/gnome-rr.h
index a4f4c9d..ff5cc2d 100644
--- a/libgnome-desktop/gnome-rr.h
+++ b/libgnome-desktop/gnome-rr.h
@@ -187,17 +187,6 @@ int             gnome_rr_mode_get_freq             (GnomeRRMode           *mode)
 /* GnomeRRCrtc */
 guint32         gnome_rr_crtc_get_id               (GnomeRRCrtc           *crtc);
 
-#ifndef GNOME_DISABLE_DEPRECATED
-gboolean        gnome_rr_crtc_set_config           (GnomeRRCrtc           *crtc,
-						    int                    x,
-						    int                    y,
-						    GnomeRRMode           *mode,
-						    GnomeRRRotation        rotation,
-						    GnomeRROutput        **outputs,
-						    int                    n_outputs,
-						    GError               **error);
-#endif
-
 gboolean        gnome_rr_crtc_set_config_with_time (GnomeRRCrtc           *crtc,
 						    guint32                timestamp,
 						    int                    x,



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