GdkScreen: Return 1, not 1.0 for the (int) scale factor

This commit is contained in:
Alexander Larsson 2013-08-26 14:39:50 +02:00
parent 247ebbd17c
commit 576ae1e3c9

View File

@ -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;
}