Mohelm97 / screenrecorder

A simple screen recorder app designed for elementary OS.
GNU General Public License v3.0
59 stars 15 forks source link

Fix deprecations #42

Closed ryonakano closed 2 years ago

ryonakano commented 4 years ago

Fixes these warnings on compile:

../src/Widgets/SelectionArea.vala:42.31-42.46: warning: Gdk.Screen.get_width has been deprecated since 3.22
../src/Widgets/SelectionArea.vala:42.52-42.68: warning: Gdk.Screen.get_height has been deprecated since 3.22
../src/Widgets/SelectionArea.vala:102.27-102.71: warning: Gdk.Display.get_device_manager has been deprecated since 3.20.
../src/Widgets/SelectionArea.vala:103.27-103.52: warning: Gdk.DeviceManager.get_client_pointer has been deprecated since 3.20
../src/Widgets/SelectionArea.vala:107.26-107.37: warning: Gdk.Device.grab has been deprecated since 3.20.
../src/Widgets/SelectionArea.vala:115.17-115.30: warning: Gdk.Device.ungrab has been deprecated since 3.20.
../src/Widgets/SelectionArea.vala:119.26-119.38: warning: Gdk.Device.grab has been deprecated since 3.20.
../src/Widgets/SelectionArea.vala:127.21-127.35: warning: Gdk.Device.ungrab has been deprecated since 3.20.
../src/Application.vala:54.21-54.84: warning: unhandled error `GLib.Error'
                    AppInfo.launch_default_for_uri (records_folder.get_uri (), null);
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 9 warning(s)