[Xfce4-commits] <xfce4-settings:xrandr-display-settings> Fix build in full debug mode

Jérôme Guelfucci noreply at xfce.org
Sat Jun 5 23:56:03 CEST 2010


Updating branch refs/heads/xrandr-display-settings
         to ba8985fb250f189915bc394965c25e33f50eb9ac (commit)
       from c792fac576bbf69b3d715c08c0f7ab7756f165b2 (commit)

commit ba8985fb250f189915bc394965c25e33f50eb9ac
Author: Lionel Le Folgoc <mrpouit at gmail.com>
Date:   Sat Jun 5 19:03:04 2010 +0200

    Fix build in full debug mode

 dialogs/display-settings/main.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index a4ca245..10c393e 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -186,6 +186,7 @@ display_setting_rotations_populate (GtkBuilder *builder)
 
 
 
+#ifndef HAS_RANDR_ONE_POINT_TWO
 static void
 display_setting_refresh_rates_changed (GtkComboBox *combobox,
                                        GtkBuilder  *builder)
@@ -198,6 +199,7 @@ display_setting_refresh_rates_changed (GtkComboBox *combobox,
     /* set new rate */
         XFCE_RANDR_LEGACY_RATE (xfce_randr_legacy) = value;
 }
+#endif
 
 
 
@@ -210,7 +212,7 @@ display_setting_refresh_rates_populate (GtkBuilder *builder)
     gint          nrates;
     GtkTreeIter   iter;
     gchar        *name = NULL;
-    gint          n, m, active = -1;
+    gint          n, active = -1;
     gshort        diff, active_diff = G_MAXSHORT;
 
     /* get the combo box store and clear it */
@@ -250,6 +252,7 @@ display_setting_refresh_rates_populate (GtkBuilder *builder)
 
 
 
+#ifndef HAS_RANDR_ONE_POINT_TWO
 static void
 display_setting_resolutions_changed (GtkComboBox *combobox,
                                      GtkBuilder  *builder)
@@ -267,6 +270,7 @@ display_setting_resolutions_changed (GtkComboBox *combobox,
     display_setting_refresh_rates_populate (builder);
     display_setting_rotations_populate (builder);
 }
+#endif
 
 
 



More information about the Xfce4-commits mailing list