[krb5-auth-dialog] applet: Move defines to top of file



commit 27135c6dc7d64755aa4f93293f7930662f450e24
Author: Guido Günther <agx sigxcpu org>
Date:   Thu Oct 13 14:05:59 2022 +0200

    applet: Move defines to top of file

 src/ka-applet-priv.h | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/src/ka-applet-priv.h b/src/ka-applet-priv.h
index 5132c74..770ea1e 100644
--- a/src/ka-applet-priv.h
+++ b/src/ka-applet-priv.h
@@ -33,6 +33,16 @@
 G_BEGIN_DECLS
 #define KA_NAME _("Kerberos Authentication")
 
+/* properties */
+#define KA_PROP_NAME_PRINCIPAL       "principal"
+#define KA_PROP_NAME_PK_USERID       "pk-userid"
+#define KA_PROP_NAME_PK_ANCHORS      "pk-anchors"
+#define KA_PROP_NAME_PW_PROMPT_MINS  "pw-prompt-mins"
+#define KA_PROP_NAME_TGT_FORWARDABLE "tgt-forwardable"
+#define KA_PROP_NAME_TGT_PROXIABLE   "tgt-proxiable"
+#define KA_PROP_NAME_TGT_RENEWABLE   "tgt-renewable"
+#define KA_PROP_NAME_CONF_TICKETS    "conf-tickets"
+
 /* signals emitted by KaApplet */
 typedef enum {
     KA_SIGNAL_ACQUIRED_TGT,     /* New TGT acquired */
@@ -54,17 +64,6 @@ void ka_applet_signal_emit (KaApplet *self, KaAppletSignalNumber signum,
                             krb5_timestamp expiry);
 void ka_applet_set_msg (KaApplet *self, const char *msg);
 GtkWindow* ka_applet_last_focused_window(KaApplet *self);
-
-/* properties */
-#define KA_PROP_NAME_PRINCIPAL       "principal"
-#define KA_PROP_NAME_PK_USERID       "pk-userid"
-#define KA_PROP_NAME_PK_ANCHORS      "pk-anchors"
-#define KA_PROP_NAME_PW_PROMPT_MINS  "pw-prompt-mins"
-#define KA_PROP_NAME_TGT_FORWARDABLE "tgt-forwardable"
-#define KA_PROP_NAME_TGT_PROXIABLE   "tgt-proxiable"
-#define KA_PROP_NAME_TGT_RENEWABLE   "tgt-renewable"
-#define KA_PROP_NAME_CONF_TICKETS    "conf-tickets"
-
 /* update tooltip and icon */
 int ka_applet_update_status (KaApplet *self, krb5_timestamp expiry);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]