Cleanup unused type specifier.

This commit is contained in:
Dave Davenport 2016-03-24 22:13:19 +01:00
parent 0a9ae342bb
commit c4b65d975c
7 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@
* @{ * @{
*/ */
typedef enum _KeyBindingAction typedef enum
{ {
/** Paste from primary clipboard */ /** Paste from primary clipboard */
PASTE_PRIMARY = 0, PASTE_PRIMARY = 0,

View File

@ -34,7 +34,7 @@ typedef int ( *_mode_is_not_ascii )( const Mode *sw, unsigned int index );
* It consists of a name, callback and if enabled * It consists of a name, callback and if enabled
* a textbox for the sidebar-mode. * a textbox for the sidebar-mode.
*/ */
struct _Mode struct rofi_mode
{ {
/** Name (max 31 char long) */ /** Name (max 31 char long) */
char name[32]; char name[32];

View File

@ -7,7 +7,7 @@
* The 'object' that makes a mode in rofi. * The 'object' that makes a mode in rofi.
* @{ * @{
*/ */
typedef struct _Mode Mode; typedef struct rofi_mode Mode;
/** /**
* Enum used to sum the possible states of ROFI. * Enum used to sum the possible states of ROFI.

View File

@ -11,7 +11,7 @@
* *
* @ingroup CONFIGURATION * @ingroup CONFIGURATION
*/ */
typedef enum _WindowLocation typedef enum
{ {
/** Center */ /** Center */
WL_CENTER = 0, WL_CENTER = 0,
@ -37,7 +37,7 @@ typedef enum _WindowLocation
* Settings structure holding all (static) configurable options. * Settings structure holding all (static) configurable options.
* @ingroup CONFIGURATION * @ingroup CONFIGURATION
*/ */
typedef struct _Settings typedef struct
{ {
/** List of enabled modi */ /** List of enabled modi */
char *modi; char *modi;

View File

@ -8,7 +8,7 @@
* *
* @{ * @{
*/ */
typedef struct _Widget typedef struct
{ {
/** X position relative to parent */ /** X position relative to parent */
short x; short x;

View File

@ -4,13 +4,13 @@
#include "x11-helper.h" #include "x11-helper.h"
#include "xrmoptions.h" #include "xrmoptions.h"
typedef struct _KeyBinding typedef struct
{ {
unsigned int modmask; unsigned int modmask;
xkb_keysym_t keysym; xkb_keysym_t keysym;
} KeyBinding; } KeyBinding;
typedef struct _ActionBindingEntry typedef struct
{ {
const char *name; const char *name;
char *keystr; char *keystr;
@ -18,7 +18,7 @@ typedef struct _ActionBindingEntry
KeyBinding *kb; KeyBinding *kb;
} ActionBindingEntry; } ActionBindingEntry;
typedef struct _DefaultBinding typedef struct
{ {
KeyBindingAction id; KeyBindingAction id;
char *name; char *name;

View File

@ -41,7 +41,7 @@
* Font + font color cache. * Font + font color cache.
* Avoid re-loading font on every change on every textbox. * Avoid re-loading font on every change on every textbox.
*/ */
typedef struct _RowColor typedef struct
{ {
Color fg; Color fg;
Color bg; Color bg;