[gtk+/resolution-independence] RI: gtk-demo: actually report monitor height rather than width
- From: Davyd Madeley <davyd src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+/resolution-independence] RI: gtk-demo: actually report monitor height rather than width
- Date: Thu, 7 May 2009 00:40:00 -0400 (EDT)
commit fc72a20782b1d650990785c1d3f715a0dca01927
Author: Davyd Madeley <davyd madeley id au>
Date: Thu May 7 12:11:17 2009 +0800
RI: gtk-demo: actually report monitor height rather than width
---
demos/gtk-demo/resolution_independence.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/demos/gtk-demo/resolution_independence.c b/demos/gtk-demo/resolution_independence.c
index 09f9252..fca946d 100644
--- a/demos/gtk-demo/resolution_independence.c
+++ b/demos/gtk-demo/resolution_independence.c
@@ -47,7 +47,7 @@ update (void)
{
plug_name = gdk_screen_get_monitor_plug_name (screen, monitor_num);
width_mm = gdk_screen_get_monitor_width_mm (screen, monitor_num);
- height_mm = gdk_screen_get_monitor_width_mm (screen, monitor_num);
+ height_mm = gdk_screen_get_monitor_height_mm (screen, monitor_num);
gdk_screen_get_monitor_geometry (screen, monitor_num, &geometry);
}
if (screen != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]