[eog] util: Port show_help to gtk_show_uri_on_window



commit 8406461adfbf32a66ebfc85fdd435cf6342d3cd3
Author: Timm Bäder <mail baedert org>
Date:   Fri Jan 26 11:57:21 2018 +0100

    util: Port show_help to gtk_show_uri_on_window
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792923

 src/eog-util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-util.c b/src/eog-util.c
index f9e0fea..a6828a5 100644
--- a/src/eog-util.c
+++ b/src/eog-util.c
@@ -53,8 +53,8 @@ eog_util_show_help (const gchar *section, GtkWindow *parent)
        if (section)
                uri = g_strdup_printf ("help:eog/%s", section);
 
-       gtk_show_uri (NULL, ((uri != NULL) ? uri : "help:eog"),
-                     gtk_get_current_event_time (), &error);
+       gtk_show_uri_on_window (parent, ((uri != NULL) ? uri : "help:eog"),
+                                gtk_get_current_event_time (), &error);
 
        g_free (uri);
 


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