aboutsummaryrefslogtreecommitdiff
path: root/src/krb5-auth-tools.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-05-04 07:51:21 +0200
committerGuido Günther <agx@sigxcpu.org>2010-05-04 07:51:21 +0200
commit29320e2db78ba6e6b56af39219b0ce213b77592b (patch)
treeab74eb3246190f92d2b7a3eb82aa73c7d5a8f67b /src/krb5-auth-tools.c
parentImported Upstream version 0.15 (diff)
downloadkrb5-auth-dialog-29320e2db78ba6e6b56af39219b0ce213b77592b.tar.gz
krb5-auth-dialog-29320e2db78ba6e6b56af39219b0ce213b77592b.tar.bz2
krb5-auth-dialog-29320e2db78ba6e6b56af39219b0ce213b77592b.zip
Imported Upstream version 0.16~rc1
Diffstat (limited to 'src/krb5-auth-tools.c')
-rw-r--r--src/krb5-auth-tools.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/krb5-auth-tools.c b/src/krb5-auth-tools.c
deleted file mode 100644
index bd72afb..0000000
--- a/src/krb5-auth-tools.c
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (C) 2009 Guido Guenther <agx@sigxcpu.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-
-#include "config.h"
-
-#include <glib/gi18n.h>
-#include "krb5-auth-tools.h"
-
-void
-ka_show_help (GdkScreen* screen, const char* chapter, GtkWindow* window)
-{
- GError *error = NULL;
- const char *section = "";
- char *url;
-
- if (chapter)
- section = chapter;
-
- url = g_strdup_printf("ghelp:krb5-auth-dialog%s", section);
-
- gtk_show_uri (screen, url, gtk_get_current_event_time (), &error);
-
- if (error) {
- GtkWidget *message_dialog;
-
- message_dialog = gtk_message_dialog_new (GTK_WINDOW (window),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR,
- GTK_BUTTONS_CLOSE,
- _("There was an error displaying help:\n%s"),
- error->message);
- gtk_window_set_resizable (GTK_WINDOW (message_dialog), FALSE);
-
- g_signal_connect (message_dialog, "response",
- G_CALLBACK (gtk_widget_destroy),
- NULL);
-
- gtk_widget_show (message_dialog);
- g_error_free (error);
- }
- g_free (url);
-}
-
bgstack15