format: update .clang-format
This commit is contained in:
@@ -2,4 +2,7 @@ BasedOnStyle: LLVM
|
|||||||
ColumnLimit: 80
|
ColumnLimit: 80
|
||||||
BreakBeforeBraces: Attach
|
BreakBeforeBraces: Attach
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
|
TabWidth: 4
|
||||||
ContinuationIndentWidth: 4
|
ContinuationIndentWidth: 4
|
||||||
|
DerivePointerAlignment: false
|
||||||
|
PointerAlignment: Left
|
||||||
@@ -19,8 +19,7 @@ static void activate(GtkApplication *app, gpointer user_data) {
|
|||||||
VektorWidgetState* widget_state =
|
VektorWidgetState* widget_state =
|
||||||
(VektorWidgetState*)malloc(sizeof(VektorWidgetState));
|
(VektorWidgetState*)malloc(sizeof(VektorWidgetState));
|
||||||
vektor_uictrl_init(app, widget_state);
|
vektor_uictrl_init(app, widget_state);
|
||||||
VektorAppState *app_state =
|
VektorAppState* app_state = (VektorAppState*)malloc(sizeof(VektorAppState));
|
||||||
(VektorAppState *)malloc(sizeof(VektorAppState));
|
|
||||||
vektor_appstate_new(widget_state, app_state);
|
vektor_appstate_new(widget_state, app_state);
|
||||||
|
|
||||||
g_signal_connect(widget_state->window, "map", G_CALLBACK(on_map),
|
g_signal_connect(widget_state->window, "map", G_CALLBACK(on_map),
|
||||||
|
|||||||
Reference in New Issue
Block a user