gnome-desktop r5327 - trunk/libgnome-desktop



Author: vuntz
Date: Wed Dec 10 05:22:46 2008
New Revision: 5327
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=5327&view=rev

Log:
2008-12-10  Vincent Untz  <vuntz gnome org>

	* gnome-rr-config.c: (has_similar_mode): kill since it's unused and
	creates a warning


Modified:
   trunk/libgnome-desktop/ChangeLog
   trunk/libgnome-desktop/gnome-rr-config.c

Modified: trunk/libgnome-desktop/gnome-rr-config.c
==============================================================================
--- trunk/libgnome-desktop/gnome-rr-config.c	(original)
+++ trunk/libgnome-desktop/gnome-rr-config.c	Wed Dec 10 05:22:46 2008
@@ -1224,28 +1224,6 @@
     }
 }
 
-static gboolean
-has_similar_mode (GnomeRROutput *output, GnomeRRMode *mode)
-{
-    int i;
-    GnomeRRMode **modes = gnome_rr_output_list_modes (output);
-    int width = gnome_rr_mode_get_width (mode);
-    int height = gnome_rr_mode_get_height (mode);
-
-    for (i = 0; modes[i] != NULL; ++i)
-    {
-	GnomeRRMode *m = modes[i];
-
-	if (gnome_rr_mode_get_width (m) == width	&&
-	    gnome_rr_mode_get_height (m) == height)
-	{
-	    return TRUE;
-	}
-    }
-
-    return FALSE;
-}
-
 /*
  * CRTC assignment
  */



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