[gnome-screenshot/wip/exalm/refactor: 8/13] utils: Stop using gtk_show_uri()
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-screenshot/wip/exalm/refactor: 8/13] utils: Stop using gtk_show_uri()
- Date: Wed, 22 Apr 2020 13:33:12 +0000 (UTC)
commit 1ce0465fbbff96fd959e52187861c2dab1be1cad
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Apr 19 03:00:33 2020 +0500
utils: Stop using gtk_show_uri()
Replace with gtk_show_uri_on_window().
Fix yet another deprecation.
src/screenshot-utils.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/screenshot-utils.c b/src/screenshot-utils.c
index 26ca026..9b87cad 100644
--- a/src/screenshot-utils.c
+++ b/src/screenshot-utils.c
@@ -149,9 +149,10 @@ screenshot_display_help (GtkWindow *parent)
{
g_autoptr(GError) error = NULL;
- gtk_show_uri (gtk_window_get_screen (parent),
- "help:gnome-help/screen-shot-record",
- gtk_get_current_event_time (), &error);
+ gtk_show_uri_on_window (parent,
+ "help:gnome-help/screen-shot-record",
+ gtk_get_current_event_time (),
+ &error);
if (error)
screenshot_show_dialog (parent,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]