From: Daniel Carl Date: Fri, 29 Mar 2013 22:59:50 +0000 (+0100) Subject: Rearranged variables in header files. X-Git-Url: https://git.owens.tech/assets/static/git-favicon.png/assets/static/git-favicon.png/git?a=commitdiff_plain;h=1a3b662b2f2f3dcfe97caebccf4ccfda15d73b50;p=vimb.git Rearranged variables in header files. --- diff --git a/src/keybind.h b/src/keybind.h index d337113..abeadf2 100644 --- a/src/keybind.h +++ b/src/keybind.h @@ -28,8 +28,8 @@ typedef struct { guint modkey; guint modmask; /* modemask for the kayval */ guint keyval; - char *command; /* command to run */ - char *param; + char *command; /* command to run */ + char *param; } Keybind; void keybind_init(void); diff --git a/src/main.h b/src/main.h index 9345825..75f0e95 100644 --- a/src/main.h +++ b/src/main.h @@ -204,33 +204,33 @@ enum { /* structs */ typedef struct { - int i; - char * s; + int i; + char *s; } Arg; /* statusbar */ typedef struct { - GtkBox * box; - GtkWidget * left; - GtkWidget * right; + GtkBox *box; + GtkWidget *left; + GtkWidget *right; } StatusBar; /* gui */ typedef struct { - GtkWidget * window; - GtkWidget * scroll; - WebKitWebView * webview; + GtkWidget *window; + GtkWidget *scroll; + WebKitWebView *webview; WebKitWebInspector *inspector; - GtkBox * box; - GtkWidget * eventbox; - GtkWidget * inputbox; - GtkWidget * compbox; - GtkWidget * pane; - StatusBar statusbar; - GtkScrollbar * sb_h; - GtkScrollbar * sb_v; - GtkAdjustment * adjust_h; - GtkAdjustment * adjust_v; + GtkBox *box; + GtkWidget *eventbox; + GtkWidget *inputbox; + GtkWidget *compbox; + GtkWidget *pane; + StatusBar statusbar; + GtkScrollbar *sb_h; + GtkScrollbar *sb_v; + GtkAdjustment *adjust_h; + GtkAdjustment *adjust_v; } Gui; /* state */ @@ -243,51 +243,51 @@ typedef struct { MessageType input_type; gboolean is_inspecting; SearchDirection search_dir; - char * search_query; - GList * downloads; + char *search_query; + GList *downloads; } State; /* behaviour */ typedef struct { GHashTable *commands; - GSList * keys; - GString * modkeys; - GSList * searchengines; - char * searchengine_default; /* handle of the default search engine */ + GSList *keys; + GString *modkeys; + GSList *searchengines; + char *searchengine_default; /* handle of the default search engine */ } Behaviour; typedef struct { time_t cookie_timeout; int scrollstep; guint max_completion_items; - char * home_page; - char * download_dir; + char *home_page; + char *download_dir; guint history_max; } Config; typedef struct { GList *completions; GList *active; - int count; - char * prefix; + int count; + char *prefix; } Completions; typedef struct { - VbColor input_fg[VB_MSG_LAST]; - VbColor input_bg[VB_MSG_LAST]; + VbColor input_fg[VB_MSG_LAST]; + VbColor input_bg[VB_MSG_LAST]; PangoFontDescription *input_font[VB_MSG_LAST]; /* completion */ - VbColor comp_fg[VB_COMP_LAST]; - VbColor comp_bg[VB_COMP_LAST]; + VbColor comp_fg[VB_COMP_LAST]; + VbColor comp_bg[VB_COMP_LAST]; PangoFontDescription *comp_font; /* hint style */ - char * hint_bg; - char * hint_bg_focus; - char * hint_fg; - char * hint_style; + char *hint_bg; + char *hint_bg_focus; + char *hint_fg; + char *hint_style; /* status bar */ - VbColor status_bg[VB_STATUS_LAST]; - VbColor status_fg[VB_STATUS_LAST]; + VbColor status_bg[VB_STATUS_LAST]; + VbColor status_fg[VB_STATUS_LAST]; PangoFontDescription *status_font[VB_STATUS_LAST]; } Style; @@ -305,12 +305,12 @@ typedef struct { Completions comps; Hints hints; - char * files[FILES_LAST]; + char *files[FILES_LAST]; Config config; Style style; Behaviour behave; - GHashTable * settings; - SoupSession * soup_session; + GHashTable *settings; + SoupSession *soup_session; #ifdef HAS_GTK3 Window embed; #else