[gnome-calculator] Fixed deprecation warning
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Fixed deprecation warning
- Date: Mon, 2 Nov 2020 23:27:23 +0000 (UTC)
commit a67d437fe35f83a0ea6238b7346f04eb0eb3967d
Author: Robert Roth <robert roth off gmail com>
Date: Tue Nov 3 01:27:16 2020 +0200
Fixed deprecation warning
src/gnome-calculator.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-calculator.vala b/src/gnome-calculator.vala
index c72b8dbd..6edf4c8b 100644
--- a/src/gnome-calculator.vala
+++ b/src/gnome-calculator.vala
@@ -291,7 +291,7 @@ public class Calculator : Gtk.Application
{
try
{
- Gtk.show_uri (get_active_window ().get_screen (), "help:gnome-calculator",
Gtk.get_current_event_time ());
+ Gtk.show_uri_on_window (get_active_window (), "help:gnome-calculator",
Gtk.get_current_event_time ());
}
catch (Error e)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]