2005-10-31 Christopher Aillon <caillon@redhat.com>
authorcaillon <caillon@517b70f8-ed25-0410-8bf6-f5db08f7b76e>
Mon, 31 Oct 2005 06:01:46 +0000 (06:01 +0000)
committercaillon <caillon@517b70f8-ed25-0410-8bf6-f5db08f7b76e>
Mon, 31 Oct 2005 06:01:46 +0000 (06:01 +0000)
* src/krb5-auth-dialog.c: No need to pass around our GladeXML
since its a static global

git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@29 517b70f8-ed25-0410-8bf6-f5db08f7b76e

ChangeLog
src/krb5-auth-dialog.c

index f79665863d17fdf77637af0901e43bb4cd98f9d8..b63f52e2f33535afac837d5947ad3e00b68f7ab7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-31  Christopher Aillon  <caillon@redhat.com>
+
+       * src/krb5-auth-dialog.c: No need to pass around our GladeXML
+       since its a static global
+
 2005-10-31  Christopher Aillon  <caillon@redhat.com>
 
        * src/krb5-auth-dialog.c: The dialog shouldn't have two labels
index 95b6eb9ab037e1f4c165d41401e899d294fe8ef0..db432bcccbeec58ca6fe013a3cadf0f314b40ba7 100644 (file)
@@ -47,9 +47,8 @@ static int renew_credentials ();
 
 
 static void
-setup_dialog (GladeXML *xml,
-              GtkWidget *dialog,
-              const gchar *krb5prompt)
+krb5_auth_dialog_setup (GtkWidget *dialog,
+                        const gchar *krb5prompt)
 {
        GtkWidget *entry;
        GtkWidget *label;
@@ -141,7 +140,7 @@ krb5_gtk_prompter (krb5_context ctx,
                errcode = KRB5_LIBOS_CANTREADPWD;
 
                entry = glade_xml_get_widget(xml, "krb5_entry");
-               setup_dialog(xml, dialog, (gchar *) prompts[i].prompt);
+               krb5_auth_dialog_setup (dialog, (gchar *) prompts[i].prompt);
 
                response = gtk_dialog_run (GTK_DIALOG (dialog));
                switch (response)