avoid deprecated gdk_screen_get_number

master-1.22
ZenWalker 2017-07-18 01:30:50 +02:00 committed by raveit65
parent a649e9f10c
commit e78b50d982
1 changed files with 1 additions and 1 deletions

View File

@ -1187,7 +1187,7 @@ egg_desktop_file_launchv (EggDesktopFile *desktop_file,
display = gdk_display_get_default (); display = gdk_display_get_default ();
screen = gdk_display_get_default_screen (display); screen = gdk_display_get_default_screen (display);
} }
screen_num = gdk_screen_get_number (screen); screen_num = gdk_x11_screen_get_screen_number (screen);
translated_documents = translate_document_list (desktop_file, documents); translated_documents = translate_document_list (desktop_file, documents);
docs = translated_documents; docs = translated_documents;