diff options
author | Jonathan Kang <jonathan121537@gmail.com> | 2017-03-16 18:05:01 +0800 |
---|---|---|
committer | Jonathan Kang <jonathan121537@gmail.com> | 2017-03-23 14:06:52 +0800 |
commit | 69a3606024b0739101226230c5c80ae198bf53bd (patch) | |
tree | a435f251558ffe0eb8d0a138fe3b7fefe54a4a53 /src | |
parent | 247a565fd9e9ec50d88bcec39dbb33c49ab08216 (diff) | |
download | gnome-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.c | 4 |
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) { |