[eog: 1/3] Replace gdk_screen_get_number with gdk_x11_screen_get_screen_number




commit 1ed012e0bf33b5452090aa53d5c5ba27e6abc2cf
Author: Krifa75 <yahiaoui fakhri gmail com>
Date:   Mon May 10 21:01:24 2021 +0200

    Replace gdk_screen_get_number with gdk_x11_screen_get_screen_number

 src/eog-window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index f032b4a7..c831a165 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -405,9 +405,9 @@ eog_window_get_display_profile (GtkWidget *window)
        if (GDK_IS_X11_SCREEN (screen)) {
                dpy = GDK_DISPLAY_XDISPLAY (gdk_screen_get_display (screen));
 
-               if (gdk_screen_get_number (screen) > 0)
+               if (gdk_x11_screen_get_screen_number (screen) > 0)
                        atom_name = g_strdup_printf ("_ICC_PROFILE_%d",
-                                                    gdk_screen_get_number (screen));
+                                                    gdk_x11_screen_get_screen_number (screen));
                else
                        atom_name = g_strdup ("_ICC_PROFILE");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]