aboutsummaryrefslogtreecommitdiff
path: root/src/ka-tools.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-11-11 14:21:02 +0100
committerGuido Günther <agx@sigxcpu.org>2017-11-11 14:21:02 +0100
commit808ce78d212c6b434d24066f1f2d44d3e76224ae (patch)
treed810e5fb8e698189ebe9af7f76c53aec0fba7e19 /src/ka-tools.c
parentNew upstream version 3.20.0 (diff)
downloadkrb5-auth-dialog-808ce78d212c6b434d24066f1f2d44d3e76224ae.tar.gz
krb5-auth-dialog-808ce78d212c6b434d24066f1f2d44d3e76224ae.tar.bz2
krb5-auth-dialog-808ce78d212c6b434d24066f1f2d44d3e76224ae.zip
New upstream version 3.26.0
Diffstat (limited to 'src/ka-tools.c')
-rw-r--r--src/ka-tools.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ka-tools.c b/src/ka-tools.c
index ae93803..1dbc94a 100644
--- a/src/ka-tools.c
+++ b/src/ka-tools.c
@@ -21,7 +21,7 @@
#include "ka-tools.h"
void
-ka_show_help (GdkScreen* screen, const char* chapter, GtkWindow* window)
+ka_show_help (GtkWindow* window, const char* chapter)
{
GError *error = NULL;
const char *section = "";
@@ -32,8 +32,7 @@ ka_show_help (GdkScreen* screen, const char* chapter, GtkWindow* window)
url = g_strdup_printf("help:krb5-auth-dialog%s", section);
- gtk_show_uri (screen, url, gtk_get_current_event_time (), &error);
-
+ gtk_show_uri_on_window (window, url, gtk_get_current_event_time (), &error);
if (error) {
GtkWidget *message_dialog;
bgstack15