From e763a4dded3c6af45d66899999437a8045d2708a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 25 Aug 2011 18:12:56 +0100 Subject: [PATCH] display: Clean up ifdef's --- panels/display/xrandr-capplet.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/panels/display/xrandr-capplet.c b/panels/display/xrandr-capplet.c index 018c4cbcd..6c1328552 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;