Fix doxygen.

This commit is contained in:
Dave Davenport 2017-01-08 16:23:17 +01:00
parent 3944a5bde2
commit 8543ac8438
3 changed files with 23 additions and 2 deletions

View File

@ -5,10 +5,14 @@
#include <widgets/widget.h> #include <widgets/widget.h>
#include <settings.h> #include <settings.h>
/** Style of line */
typedef enum { typedef enum {
/** Solid line */
SOLID, SOLID,
/** Dashed line */
DASH DASH
} LineStyle; } LineStyle;
/** /**
* Distance unit type. * Distance unit type.
*/ */
@ -88,18 +92,33 @@ typedef struct
Distance left; Distance left;
} Padding; } Padding;
/**
* Property structure.
*/
typedef struct Property { typedef struct Property {
/** Name of property */
char *name; char *name;
/** Type of property. */
PropertyType type; PropertyType type;
/** Value */
union { union {
/** integer */
int i; int i;
/** Double */
double f; double f;
/** String */
char *s; char *s;
int b; /** boolean */
gboolean b;
/** Color */
ThemeColor color; ThemeColor color;
/** Padding */
Padding padding; Padding padding;
/** Reference */
struct { struct {
/** Name */
char *name; char *name;
/** Cached looked up ref */
struct Property *ref; struct Property *ref;
} link; } link;
} value; } value;

View File

@ -578,8 +578,9 @@ static void error_trap_pop ( G_GNUC_UNUSED SnDisplay *display, xcb_connection_t
xcb_flush ( xdisplay ); xcb_flush ( xdisplay );
--error_trap_depth; --error_trap_depth;
} }
/** Retry count of grabbing keyboard. */
unsigned int lazy_grab_retry_count_kb = 0; unsigned int lazy_grab_retry_count_kb = 0;
/** Retry count of grabbing pointer. */
unsigned int lazy_grab_retry_count_pt = 0; unsigned int lazy_grab_retry_count_pt = 0;
static gboolean lazy_grab_pointer ( G_GNUC_UNUSED gpointer data ) static gboolean lazy_grab_pointer ( G_GNUC_UNUSED gpointer data )
{ {

View File

@ -9,6 +9,7 @@
#include "widgets/textbox.h" #include "widgets/textbox.h"
#include "view.h" #include "view.h"
/** Logging domain for theme */
#define LOG_DOMAIN "Theme" #define LOG_DOMAIN "Theme"
void yyerror ( YYLTYPE *ylloc, const char *); void yyerror ( YYLTYPE *ylloc, const char *);