From 23f974558f1d5f93e3bcd0bbe22f96a2ab329839 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 7 Jan 2009 23:27:30 +0000 Subject: [PATCH] Fix a variable type 2008-12-18 Federico Mena Quintero * xrandr-capplet.c (select_current_output_from_dialog_position): Fix the type of the "output" variable. Signed-off-by: Federico Mena Quintero svn path=/trunk/; revision=9185 --- capplets/display/ChangeLog | 5 +++++ capplets/display/xrandr-capplet.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/capplets/display/ChangeLog b/capplets/display/ChangeLog index 77ff642ca..448b4a6b8 100644 --- a/capplets/display/ChangeLog +++ b/capplets/display/ChangeLog @@ -1,3 +1,8 @@ +2008-12-18 Federico Mena Quintero + + * xrandr-capplet.c (select_current_output_from_dialog_position): + Fix the type of the "output" variable. + ==================== 2.25.3 ==================== 2008-12-16 Federico Mena Quintero diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index be42e842f..33c14ef31 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -1807,10 +1807,10 @@ 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)) { + GnomeOutputInfo *output; + output = get_output_for_window (app->current_configuration, app->dialog->window); if (output)