summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-08-26 14:39:50 +0200
committerAlexander Larsson <alexl@redhat.com>2013-08-26 21:17:45 +0200
commit576ae1e3c99f85af0ff2a013cb464d7be2bc1f03 (patch)
tree1ba63a27b407a0f70a910170131911fdced2245c /gdk
parent247ebbd17c70d2fe82b48d857549ceeeaad500ff (diff)
downloadgtk+-576ae1e3c99f85af0ff2a013cb464d7be2bc1f03.tar.gz
GdkScreen: Return 1, not 1.0 for the (int) scale factor
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index 9a71b98b80..743b850bd5 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -1080,5 +1080,5 @@ gdk_screen_get_monitor_scale_factor (GdkScreen *screen,
if (screen_class->get_monitor_scale_factor)
return screen_class->get_monitor_scale_factor (screen, monitor_num);
- return 1.0;
+ return 1;
}