[gtksourceview/wip/chergert/gsv-gtk4: 13/84] buffer: modernize GtkSourceBufferInternal



commit df4322ceec08c5bcc0fbf4df37bade59762e3287
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jan 9 11:25:34 2020 -0800

    buffer: modernize GtkSourceBufferInternal

 gtksourceview/gtksourcebufferinternal.c |  2 +-
 gtksourceview/gtksourcebufferinternal.h | 14 +++++---------
 2 files changed, 6 insertions(+), 10 deletions(-)
---
diff --git a/gtksourceview/gtksourcebufferinternal.c b/gtksourceview/gtksourcebufferinternal.c
index 08b82642..e55c5fff 100644
--- a/gtksourceview/gtksourcebufferinternal.c
+++ b/gtksourceview/gtksourcebufferinternal.c
@@ -111,7 +111,7 @@ _gtk_source_buffer_internal_get_from_buffer (GtkSourceBuffer *buffer)
 
 void
 _gtk_source_buffer_internal_emit_search_start (GtkSourceBufferInternal *buffer_internal,
-                                              GtkSourceSearchContext  *search_context)
+                                               GtkSourceSearchContext  *search_context)
 {
        g_return_if_fail (GTK_SOURCE_IS_BUFFER_INTERNAL (buffer_internal));
        g_return_if_fail (GTK_SOURCE_IS_SEARCH_CONTEXT (search_context));
diff --git a/gtksourceview/gtksourcebufferinternal.h b/gtksourceview/gtksourcebufferinternal.h
index 55ce0907..cf6e3759 100644
--- a/gtksourceview/gtksourcebufferinternal.h
+++ b/gtksourceview/gtksourcebufferinternal.h
@@ -26,19 +26,15 @@
 
 G_BEGIN_DECLS
 
-#define GTK_SOURCE_TYPE_BUFFER_INTERNAL (_gtk_source_buffer_internal_get_type ())
+#define GTK_SOURCE_TYPE_BUFFER_INTERNAL (_gtk_source_buffer_internal_get_type())
 
 G_GNUC_INTERNAL
-G_DECLARE_FINAL_TYPE (GtkSourceBufferInternal, _gtk_source_buffer_internal,
-                     GTK_SOURCE, BUFFER_INTERNAL,
-                     GObject)
+G_DECLARE_FINAL_TYPE (GtkSourceBufferInternal, _gtk_source_buffer_internal, GTK_SOURCE, BUFFER_INTERNAL, 
GObject)
 
 G_GNUC_INTERNAL
-GtkSourceBufferInternal *
-               _gtk_source_buffer_internal_get_from_buffer             (GtkSourceBuffer *buffer);
-
+GtkSourceBufferInternal *_gtk_source_buffer_internal_get_from_buffer   (GtkSourceBuffer         *buffer);
 G_GNUC_INTERNAL
-void           _gtk_source_buffer_internal_emit_search_start           (GtkSourceBufferInternal 
*buffer_internal,
-                                                                        GtkSourceSearchContext  
*search_context);
+void                     _gtk_source_buffer_internal_emit_search_start (GtkSourceBufferInternal 
*buffer_internal,
+                                                                        GtkSourceSearchContext  
*search_context);
 
 G_END_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]