[gtksourceview/wip/chergert/gsv-gtk4: 85/194] version: modernize gtksourceversion.h.in
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 85/194] version: modernize gtksourceversion.h.in
- Date: Tue, 12 May 2020 17:24:14 +0000 (UTC)
commit 6cc597cda5141367d89edd43b2cdfb948a9307c5
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 9 14:27:55 2020 -0800
version: modernize gtksourceversion.h.in
- Fix multi-line function indentation
- Use #pragma once
gtksourceview/gtksourceversion.h.in | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/gtksourceview/gtksourceversion.h.in b/gtksourceview/gtksourceversion.h.in
index 43ebf272..c56a36d5 100644
--- a/gtksourceview/gtksourceversion.h.in
+++ b/gtksourceview/gtksourceversion.h.in
@@ -18,8 +18,7 @@
* along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GTK_SOURCE_VERSION_H
-#define GTK_SOURCE_VERSION_H
+#pragma once
#include <glib.h>
@@ -578,19 +577,14 @@ G_BEGIN_DECLS
#endif /* __GTK_DOC_IGNORE__ */
GTK_SOURCE_AVAILABLE_IN_3_20
-guint gtk_source_get_major_version (void);
-
+guint gtk_source_get_major_version (void);
GTK_SOURCE_AVAILABLE_IN_3_20
-guint gtk_source_get_minor_version (void);
-
+guint gtk_source_get_minor_version (void);
GTK_SOURCE_AVAILABLE_IN_3_20
-guint gtk_source_get_micro_version (void);
-
+guint gtk_source_get_micro_version (void);
GTK_SOURCE_AVAILABLE_IN_3_20
-gboolean gtk_source_check_version (guint major,
- guint minor,
- guint micro);
+gboolean gtk_source_check_version (guint major,
+ guint minor,
+ guint micro);
G_END_DECLS
-
-#endif /* GTK_SOURCE_VERSION_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]