[gnome-control-center] display: Clean up ifdef's
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Clean up ifdef's
- Date: Thu, 25 Aug 2011 18:41:06 +0000 (UTC)
commit e763a4dded3c6af45d66899999437a8045d2708a
Author: Bastien Nocera <hadess hadess net>
Date: Thu Aug 25 18:12:56 2011 +0100
display: Clean up ifdef's
panels/display/xrandr-capplet.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/panels/display/xrandr-capplet.c b/panels/display/xrandr-capplet.c
index 018c4cb..6c13285 100644
--- a/panels/display/xrandr-capplet.c
+++ b/panels/display/xrandr-capplet.c
@@ -41,6 +41,8 @@
#define TOP_BAR_HEIGHT 10
+#define UI_FILE UIDIR "/display-capplet.ui"
+
#define CLOCK_SCHEMA "org.gnome.desktop.interface"
#define CLOCK_FORMAT_KEY "clock-format"
@@ -2462,10 +2464,6 @@ destroy_app (App *app)
GtkWidget*
run_application (void)
{
-#ifndef UIDIR
-#define UIDIR "."
-#endif
-#define UI_FILE UIDIR "/display-capplet.ui"
GtkBuilder *builder;
GtkWidget *align;
GError *error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]