-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .clang-format and update formatting of code.
- Loading branch information
1 parent
a8667de
commit 70778d9
Showing
9 changed files
with
163 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
Language: Cpp | ||
BasedOnStyle: GNU | ||
# Our column limit is actually 80, but setting that results in clang-format | ||
# making a lot of dubious hanging-indent choices; disable it and assume the | ||
# developer will line wrap appropriately. clang-format will still check | ||
# existing hanging indents. | ||
|
||
AlignAfterOpenBracket: BlockIndent | ||
ColumnLimit: 80 | ||
IndentWidth: 4 | ||
IndentWidth: 4 | ||
PointerAlignment: Left |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
#pragma once | ||
|
||
#include "app.h" | ||
#include <adwaita.h> | ||
#include <gtk/gtk.h> | ||
#include "app.h" | ||
|
||
G_BEGIN_DECLS | ||
|
||
#define OMP_APP_WINDOW_TYPE (omp_app_window_get_type ()) | ||
G_DECLARE_FINAL_TYPE (OMPAppWindow, omp_app_window, OMP, APP_WINDOW, AdwApplicationWindow) | ||
G_DECLARE_FINAL_TYPE ( | ||
OMPAppWindow, omp_app_window, OMP, APP_WINDOW, AdwApplicationWindow | ||
) | ||
|
||
OMPAppWindow *omp_app_window_new (OMPApp *app); | ||
OMPAppWindow* omp_app_window_new (OMPApp* app); | ||
|
||
void omp_app_window_open (OMPAppWindow *win, | ||
GFile *file); | ||
void omp_app_window_open (OMPAppWindow* win, GFile* file); | ||
|
||
G_END_DECLS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
#include <adwaita.h> | ||
#include "app.h" | ||
#include <adwaita.h> | ||
|
||
int | ||
main (int argc, char *argv[]) | ||
main (int argc, char* argv[]) | ||
{ | ||
return g_application_run (G_APPLICATION (omp_app_new ()), argc, argv); | ||
return g_application_run (G_APPLICATION (omp_app_new ()), argc, argv); | ||
} | ||
|
Oops, something went wrong.