[gnome-klotski] Replace deprecated method.



commit d6c6822a8be897933dfc17694f2328d6bb6b7a23
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Feb 14 06:25:23 2020 +0100

    Replace deprecated method.
    
    Bump accordingly Gtk+ required version to 3.22.

 meson.build            | 2 +-
 src/gnome-klotski.vala | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 28b475c..2ee4353 100644
--- a/meson.build
+++ b/meson.build
@@ -13,7 +13,7 @@ python3 = import('python3')
 gee_dependency = dependency('gee-0.8')
 glib_dependency = dependency('glib-2.0', version: '>= 2.42.0')
 gnome_games_support_dependency = dependency('libgnome-games-support-1')
-gtk_dependency = dependency('gtk+-3.0', version: '>= 3.12.0')
+gtk_dependency = dependency('gtk+-3.0', version: '>= 3.22.0')
 rsvg_dependency = dependency('librsvg-2.0', version: '>= 2.32.0')
 posix_dependency = meson.get_compiler('vala').find_library('posix')
 
diff --git a/src/gnome-klotski.vala b/src/gnome-klotski.vala
index d9d00ec..7b90ff2 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -120,7 +120,7 @@ private class Klotski : Gtk.Application
     {
         try
         {
-            show_uri (window.get_screen (), "help:gnome-klotski", get_current_event_time ());
+            show_uri_on_window (window, "help:gnome-klotski", get_current_event_time ());
         }
         catch (Error e)
         {


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