[gtksourceview/wip/chergert/gsv-gtk4: 59/117] version: modernize gtksourceversion.h.in



commit e8e36f2d82c4cb57ff59357ec8f11dd4831f4ff8
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]