summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-09-30 10:35:12 +0200
committerDave Davenport <qball@gmpclient.org>2019-09-30 10:35:12 +0200
commit0a0556c76571e9fcec68de7dcf8a60369cf746e2 (patch)
tree8264c92e95a02444f92937d905abc32325ef7210 /source
parent3def8a64182f74902d95f92f118187becd314698 (diff)
[CI] Update missing documentation.
Diffstat (limited to 'source')
-rw-r--r--source/dialogs/ssh.c6
-rw-r--r--source/timings.c7
-rw-r--r--source/widgets/listview.c6
3 files changed, 17 insertions, 2 deletions
diff --git a/source/dialogs/ssh.c b/source/dialogs/ssh.c
index bb2eea20..d6341a94 100644
--- a/source/dialogs/ssh.c
+++ b/source/dialogs/ssh.c
@@ -56,9 +56,13 @@
#include "history.h"
#include "dialogs/ssh.h"
-
+/**
+ * Holding an ssh entry.
+ */
typedef struct _SshEntry {
+ /** SSH hostname */
char *hostname;
+ /** SSH port number */
int port;
} SshEntry;
/**
diff --git a/source/timings.c b/source/timings.c
index 9f882080..a5fedc7b 100644
--- a/source/timings.c
+++ b/source/timings.c
@@ -25,13 +25,20 @@
*
*/
+/** Log domain used by timings.*/
#define G_LOG_DOMAIN "Timings"
#include "config.h"
#include <stdio.h>
#include "rofi.h"
#include "timings.h"
+/**
+ * Timer used to calculate time stamps.
+ */
GTimer *global_timer = NULL;
+/**
+ * Last timestamp made.
+ */
double global_timer_last = 0.0;
void rofi_timings_init ( void )
diff --git a/source/widgets/listview.c b/source/widgets/listview.c
index 9ba45d6d..7609bb11 100644
--- a/source/widgets/listview.c
+++ b/source/widgets/listview.c
@@ -127,7 +127,11 @@ struct _listview
unsigned int cur_visible;
} barview;
};
-
+/**
+ * Names used for theming the elements in the listview.
+ * Each row can have 3 modes, normal, selected and alternate.
+ * Each row can have 3 states, normal, urgent and active.
+ */
const char *const listview_theme_prop_names[][3] = {
/** Normal row */
{ "normal.normal", "selected.normal", "alternate.normal" },