Skip to content

Commit

Permalink
avoid deprecated gdk_screen_get_number
Browse files Browse the repository at this point in the history
  • Loading branch information
raveit65 committed Jul 17, 2017
1 parent 83a2669 commit 78e879e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cact/egg-desktop-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ egg_desktop_file_launchv (EggDesktopFile *desktop_file,
display = gdk_display_get_default ();
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);
docs = translated_documents;
Expand Down

0 comments on commit 78e879e

Please sign in to comment.