aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-25 16:49:23 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-25 18:06:50 +0200
commitbc8ceebef7530b767e9e454f3c5cd6e1749675bd (patch)
treeae63f86facb3bc0dd0223b570131bae5542fb716 /src
parentda0a5c43dc53a48a70f4f1a15bce081b87bbe85f (diff)
downloadlogdiag-bc8ceebef7530b767e9e454f3c5cd6e1749675bd.tar.gz
logdiag-bc8ceebef7530b767e9e454f3c5cd6e1749675bd.tar.xz
logdiag-bc8ceebef7530b767e9e454f3c5cd6e1749675bd.zip
Add clang-format configuration, clean up
Diffstat (limited to 'src')
-rw-r--r--src/ld-window-main.c2
-rw-r--r--src/ld-window-main.h21
-rw-r--r--src/logdiag.c1
3 files changed, 11 insertions, 13 deletions
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index 4977508..af603f8 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -182,7 +182,7 @@ static GtkActionEntry wm_action_entries[] =
G_CALLBACK (on_action_user_guide)},
{"About", GTK_STOCK_ABOUT, N_("_About"), NULL,
N_("Show a dialog about this application"),
- G_CALLBACK (on_action_about)}
+ G_CALLBACK (on_action_about)},
};
static GtkToggleActionEntry wm_toggle_action_entries[] =
diff --git a/src/ld-window-main.h b/src/ld-window-main.h
index 6e3ca32..d96b15d 100644
--- a/src/ld-window-main.h
+++ b/src/ld-window-main.h
@@ -15,16 +15,16 @@ G_BEGIN_DECLS
#define LD_TYPE_WINDOW_MAIN (ld_window_main_get_type ())
-#define LD_WINDOW_MAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST \
- ((obj), LD_TYPE_WINDOW_MAIN, LdWindowMain))
-#define LD_WINDOW_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST \
- ((klass), LD_TYPE_WINDOW_MAIN, LdWindowMainClass))
-#define LD_IS_WINDOW_MAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE \
- ((obj), LD_TYPE_WINDOW_MAIN))
-#define LD_IS_WINDOW_MAIN_CLASS(klass) (G_TYPE_CHECK_INSTANCE_TYPE \
- ((klass), LD_TYPE_WINDOW_MAIN))
-#define LD_WINDOW_MAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS \
- ((obj), LD_WINDOW_MAIN, LdWindowMainClass))
+#define LD_WINDOW_MAIN(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), LD_TYPE_WINDOW_MAIN, LdWindowMain))
+#define LD_WINDOW_MAIN_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), LD_TYPE_WINDOW_MAIN, LdWindowMainClass))
+#define LD_IS_WINDOW_MAIN(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LD_TYPE_WINDOW_MAIN))
+#define LD_IS_WINDOW_MAIN_CLASS(klass) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((klass), LD_TYPE_WINDOW_MAIN))
+#define LD_WINDOW_MAIN_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), LD_WINDOW_MAIN, LdWindowMainClass))
typedef struct _LdWindowMain LdWindowMain;
typedef struct _LdWindowMainPrivate LdWindowMainPrivate;
@@ -53,4 +53,3 @@ GtkWidget *ld_window_main_new (const gchar *filename);
G_END_DECLS
#endif /* ! __LD_WINDOW_MAIN_H__ */
-
diff --git a/src/logdiag.c b/src/logdiag.c
index 50720c2..8c52d40 100644
--- a/src/logdiag.c
+++ b/src/logdiag.c
@@ -175,4 +175,3 @@ main (int argc, char *argv[])
gtk_main ();
return 0;
}
-