summaryrefslogtreecommitdiffstats
path: root/include/widgets
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-03 20:35:50 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-03 20:35:50 +0200
commit9a62bfd17284a424cafd4ce649076127eafc2f5d (patch)
treeb2c89cc4ba6917388aafd2f050f9ec55f723f4db /include/widgets
parent684211aba4353a15436533d5782dc02e00c3f72e (diff)
Run indenter.
Diffstat (limited to 'include/widgets')
-rw-r--r--include/widgets/box.h2
-rw-r--r--include/widgets/container.h2
-rw-r--r--include/widgets/listview.h2
-rw-r--r--include/widgets/scrollbar.h2
-rw-r--r--include/widgets/textbox.h2
-rw-r--r--include/widgets/widget-internal.h20
-rw-r--r--include/widgets/widget.h2
7 files changed, 16 insertions, 16 deletions
diff --git a/include/widgets/box.h b/include/widgets/box.h
index 21724b1a..2cf4618a 100644
--- a/include/widgets/box.h
+++ b/include/widgets/box.h
@@ -45,7 +45,7 @@
/**
* Abstract handle to the box widget internal state.
*/
-typedef struct _box box;
+typedef struct _box box;
/**
* @param name The name of the widget.
diff --git a/include/widgets/container.h b/include/widgets/container.h
index 60c0b258..e94d50f2 100644
--- a/include/widgets/container.h
+++ b/include/widgets/container.h
@@ -41,7 +41,7 @@
/**
* Abstract handle to the container widget internal state.
*/
-typedef struct _window container;
+typedef struct _window container;
/**
* @param name The name of the widget.
diff --git a/include/widgets/listview.h b/include/widgets/listview.h
index 81d705b1..a2fe6989 100644
--- a/include/widgets/listview.h
+++ b/include/widgets/listview.h
@@ -39,7 +39,7 @@
* Handle to the listview.
* No internal fields should be accessed directly.
*/
-typedef struct _listview listview;
+typedef struct _listview listview;
/**
* The scrolling type used in the list view
diff --git a/include/widgets/scrollbar.h b/include/widgets/scrollbar.h
index 2806bc3f..6c7af7c8 100644
--- a/include/widgets/scrollbar.h
+++ b/include/widgets/scrollbar.h
@@ -46,7 +46,7 @@ typedef struct _scrollbar
unsigned int length;
unsigned int pos;
unsigned int pos_length;
- RofiDistance width;
+ RofiDistance width;
} scrollbar;
/**
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index 9648cbaf..57e92911 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -64,7 +64,7 @@ typedef struct
int blink;
guint blink_timeout;
- double yalign ;
+ double yalign;
PangoFontMetrics *metrics;
int left_offset;
diff --git a/include/widgets/widget-internal.h b/include/widgets/widget-internal.h
index 08c910af..8ae1f823 100644
--- a/include/widgets/widget-internal.h
+++ b/include/widgets/widget-internal.h
@@ -45,14 +45,14 @@ struct _widget
/** Height of the widget */
short h;
/** RofiPadding */
- RofiPadding def_margin;
- RofiPadding def_padding;
- RofiPadding def_border;
- RofiPadding def_border_radius;
- RofiPadding margin;
- RofiPadding padding;
- RofiPadding border;
- RofiPadding border_radius;
+ RofiPadding def_margin;
+ RofiPadding def_padding;
+ RofiPadding def_border;
+ RofiPadding def_border_radius;
+ RofiPadding margin;
+ RofiPadding padding;
+ RofiPadding border;
+ RofiPadding border_radius;
/** enabled or not */
gboolean enabled;
@@ -78,8 +78,8 @@ struct _widget
/** Handle mouse motion, used for dragging */
gboolean ( *motion_notify )( struct _widget *, gint x, gint y );
- int ( *get_desired_height )( struct _widget * );
- int ( *get_desired_width )( struct _widget * );
+ int ( *get_desired_height )( struct _widget * );
+ int ( *get_desired_width )( struct _widget * );
/** widget find_mouse_target callback */
widget_find_mouse_target_cb find_mouse_target;
diff --git a/include/widgets/widget.h b/include/widgets/widget.h
index 4fc99cfa..322ef64d 100644
--- a/include/widgets/widget.h
+++ b/include/widgets/widget.h
@@ -48,7 +48,7 @@
* Abstract structure holding internal state of a widget.
* Structure is elaborated in widget-internal.h
*/
-typedef struct _widget widget;
+typedef struct _widget widget;
/**
* Type of the widget. It is used to bubble events to the relevant widget.