summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonathan Kang <jonathan121537@gmail.com>2017-03-16 18:05:01 +0800
committerJonathan Kang <jonathan121537@gmail.com>2017-03-23 14:06:52 +0800
commit69a3606024b0739101226230c5c80ae198bf53bd (patch)
treea435f251558ffe0eb8d0a138fe3b7fefe54a4a53 /src
parent247a565fd9e9ec50d88bcec39dbb33c49ab08216 (diff)
downloadgnome-logs-69a3606024b0739101226230c5c80ae198bf53bd.tar.gz
Avoid deprecated gtk_show_uri()
Use gtk_show_uri_on_window() instead.
Diffstat (limited to 'src')
-rw-r--r--src/gl-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gl-window.c b/src/gl-window.c
index d1780bd..62cc718 100644
--- a/src/gl-window.c
+++ b/src/gl-window.c
@@ -352,8 +352,8 @@ on_help_button_clicked (GlWindow *window,
parent = GTK_WINDOW (window);
priv = gl_window_get_instance_private (GL_WINDOW (window));
- gtk_show_uri (gtk_window_get_screen (parent), "help:gnome-logs/permissions",
- GDK_CURRENT_TIME, &error);
+ gtk_show_uri_on_window (parent, "help:gnome-logs/permissions",
+ GDK_CURRENT_TIME, &error);
if (error)
{