[Xfce4-commits] <xfce4-settings:master> Fix build in full debug mode
Nick Schermer
noreply at xfce.org
Sat Aug 28 23:02:08 CEST 2010
Updating branch refs/heads/master
to f9836d27e0a4f9f99740d992c0cf5165a3ac314e (commit)
from 1ef1f89ca3617be4e0e5b24d30682b3727983892 (commit)
commit f9836d27e0a4f9f99740d992c0cf5165a3ac314e
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