diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-10-27 20:13:59 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-10-27 20:13:59 +0100 |
commit | 31185d465d8bfc8411533d46b8993b1cf5b7b13a (patch) | |
tree | 2b83a613bb99dd2f65291ac8848337cccf22f448 /src/ka-preferences.h | |
parent | New upstream version 3.12.0 (diff) | |
download | krb5-auth-dialog-31185d465d8bfc8411533d46b8993b1cf5b7b13a.tar.gz krb5-auth-dialog-31185d465d8bfc8411533d46b8993b1cf5b7b13a.tar.bz2 krb5-auth-dialog-31185d465d8bfc8411533d46b8993b1cf5b7b13a.zip |
New upstream version 3.15.1
Diffstat (limited to 'src/ka-preferences.h')
-rw-r--r-- | src/ka-preferences.h | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/src/ka-preferences.h b/src/ka-preferences.h index 6f767c5..4b6a732 100644 --- a/src/ka-preferences.h +++ b/src/ka-preferences.h @@ -3,15 +3,34 @@ #ifndef KA_PREFERENCES_H #define KA_PREFERENCES_H +#include <glib.h> +#include <glib-object.h> #include <gtk/gtk.h> +#include "config.h" #include "ka-applet.h" G_BEGIN_DECLS -void ka_preferences_window_create (KaApplet *applet, GtkBuilder *xml); -void ka_preferences_window_destroy (void); -void ka_preferences_window_show (KaApplet *applet); +#define KA_TYPE_PREFERENCES (ka_preferences_get_type ()) +#define KA_PREFERENCES(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), KA_TYPE_PREFERENCES, KaPreferences)) +#define KA_PREFERENCES_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), KA_TYPE_PREFERENCES, KaPreferencesClass)) +#define KA_IS_PREFERENCES(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), KA_TYPE_PREFERENCES)) +#define KA_IS_PREFERENCES_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), KA_TYPE_PREFERENCES)) +#define KA_PREFERENCES_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), KA_TYPE_PREFERENCES, KaPreferencesClass)) + typedef struct _KaPreferences KaPreferences; +typedef struct _KaPreferencesClass KaPreferencesClass; +typedef struct _KaPreferencesPrivate KaPreferencesPrivate; + +GType ka_preferences_get_type (void); + +KaPreferences* ka_preferences_new (KaApplet *applet); +void ka_preferences_run (KaPreferences *self); G_END_DECLS |