1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

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_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
* a textbox for the sidebar-mode.
*/
struct _Mode
struct rofi_mode
{
/** Name (max 31 char long) */
char name[32];

View file

@ -7,7 +7,7 @@
* 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.

View file

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

View file

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

View file

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

View file

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