aboutsummaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
committerp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
commit0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch)
tree225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/prefs.h
parent69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff)
clean up struct typedefs
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 68bf773a..2b0f15e4 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -26,9 +26,7 @@ extern "C" {
/* Panel sizes */
enum { P_tiny = 0, P_small, P_medium };
-typedef struct _DilloPrefs DilloPrefs;
-
-struct _DilloPrefs {
+typedef struct {
int width;
int height;
int xpos;
@@ -99,7 +97,7 @@ struct _DilloPrefs {
bool_t middle_click_drags_page;
int penalty_hyphen, penalty_hyphen_2;
int penalty_em_dash_left, penalty_em_dash_right, penalty_em_dash_right_2;
-};
+} DilloPrefs;
/* Global Data */
extern DilloPrefs prefs;