From 34f643bb92644b0c93116fd5aaca5d0ed3a48aac Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Tue, 16 Dec 2008 11:40:36 +0000 Subject: [PATCH] Declare variable, fix build. * xrandr-capplet.c: (select_current_output_from_dialog_position): Declare variable, fix build. svn path=/trunk/; revision=9172 --- capplets/display/ChangeLog | 5 +++++ capplets/display/xrandr-capplet.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/capplets/display/ChangeLog b/capplets/display/ChangeLog index 53c2af5f2..5757997d4 100644 --- a/capplets/display/ChangeLog +++ b/capplets/display/ChangeLog @@ -1,3 +1,8 @@ +2008-12-16 Frederic Peters + + * xrandr-capplet.c: (select_current_output_from_dialog_position): + Declare variable, fix build. + 2008-12-15 Federico Mena Quintero * xrandr-capplet.c (on_screen_changed): Use diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index 48dfe8e6f..d758d6cf0 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -1807,6 +1807,8 @@ get_output_for_window (GnomeRRConfig *configuration, GdkWindow *window) static void select_current_output_from_dialog_position (App *app) { + GnomeRROutput *output; + if (GTK_WIDGET_REALIZED (app->dialog)) { output = get_output_for_window (app->current_configuration, app->dialog->window);