summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 8114435..7979acb 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -387,8 +387,8 @@ eom_window_get_display_profile (GdkScreen *screen)
dpy = GDK_DISPLAY_XDISPLAY (gdk_screen_get_display (screen));
- if (gdk_screen_get_number (screen) > 0)
- atom_name = g_strdup_printf ("_ICC_PROFILE_%d", gdk_screen_get_number (screen));
+ if (gdk_x11_screen_get_screen_number (screen) > 0)
+ atom_name = g_strdup_printf ("_ICC_PROFILE_%d", gdk_x11_screen_get_screen_number (screen));
else
atom_name = g_strdup ("_ICC_PROFILE");