[krb5-auth-dialog] Add getter for gconf client
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Add getter for gconf client
- Date: Tue, 27 Apr 2010 17:51:43 +0000 (UTC)
commit a7f0bdf074c437f98dffd4541d4e6426202e1d69
Author: Guido Günther <agx sigxcpu org>
Date: Sun Apr 25 09:42:54 2010 +0200
Add getter for gconf client
src/krb5-auth-applet.c | 6 ++++++
src/krb5-auth-applet.h | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/krb5-auth-applet.c b/src/krb5-auth-applet.c
index 72b403e..30fa77e 100644
--- a/src/krb5-auth-applet.c
+++ b/src/krb5-auth-applet.c
@@ -874,6 +874,12 @@ ka_applet_get_pwdialog(const KaApplet* applet)
return applet->priv->pwdialog;
}
+GConfClient*
+ka_applet_get_gconf_client(const KaApplet* self)
+{
+ return self->priv->gconf;
+}
+
void
ka_applet_signal_emit (KaApplet* this, KaAppletSignalNumber signum,
krb5_timestamp expiry)
diff --git a/src/krb5-auth-applet.h b/src/krb5-auth-applet.h
index 18cdf98..ea6341d 100644
--- a/src/krb5-auth-applet.h
+++ b/src/krb5-auth-applet.h
@@ -23,6 +23,7 @@
#include <glib-object.h>
#include <glib/gprintf.h>
+#include <gconf/gconf-client.h>
#include <krb5.h>
#include "config.h"
@@ -47,6 +48,7 @@ void ka_applet_set_tgt_renewable(KaApplet* applet, gboolean renewable);
gboolean ka_applet_get_tgt_renewable(const KaApplet* applet);
guint ka_applet_get_pw_prompt_secs(const KaApplet* applet);
KaPwDialog* ka_applet_get_pwdialog(const KaApplet* applet);
+GConfClient* ka_applet_get_gconf_client(const KaApplet* applet);
void ka_applet_signal_emit(KaApplet* applet, KaAppletSignalNumber signum,
krb5_timestamp expiry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]