[gtksourceview] CompletionWords: better headers formatting
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] CompletionWords: better headers formatting
- Date: Mon, 20 May 2013 12:45:27 +0000 (UTC)
commit 29d7c79ac95d3a3af4547f6f917cb504e215c5da
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun May 19 22:20:19 2013 +0200
CompletionWords: better headers formatting
.../words/gtksourcecompletionwords.h | 4 ++--
.../words/gtksourcecompletionwordsbuffer.h | 19 +++++++++----------
.../words/gtksourcecompletionwordslibrary.h | 12 ++++++------
.../words/gtksourcecompletionwordsproposal.h | 2 +-
4 files changed, 18 insertions(+), 19 deletions(-)
---
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
b/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
index 8421f72..8c9c56d 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwords.h
@@ -27,7 +27,7 @@
G_BEGIN_DECLS
-#define GTK_SOURCE_TYPE_COMPLETION_WORDS (gtk_source_completion_words_get_type
())
+#define GTK_SOURCE_TYPE_COMPLETION_WORDS (gtk_source_completion_words_get_type ())
#define GTK_SOURCE_COMPLETION_WORDS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_SOURCE_TYPE_COMPLETION_WORDS, GtkSourceCompletionWords))
#define GTK_SOURCE_COMPLETION_WORDS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
GTK_SOURCE_TYPE_COMPLETION_WORDS, GtkSourceCompletionWordsClass))
#define GTK_SOURCE_IS_COMPLETION_WORDS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_SOURCE_TYPE_COMPLETION_WORDS))
@@ -48,7 +48,7 @@ struct _GtkSourceCompletionWordsClass {
GObjectClass parent_class;
};
-GType gtk_source_completion_words_get_type (void) G_GNUC_CONST;
+GType gtk_source_completion_words_get_type (void) G_GNUC_CONST;
GtkSourceCompletionWords *
gtk_source_completion_words_new (const gchar *name,
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.h
b/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.h
index c70f82b..b5556cc 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.h
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordsbuffer.h
@@ -22,7 +22,6 @@
#ifndef __GTK_SOURCE_COMPLETION_WORDS_BUFFER_H__
#define __GTK_SOURCE_COMPLETION_WORDS_BUFFER_H__
-#include <glib-object.h>
#include <gtk/gtk.h>
#include "gtksourcecompletionwordslibrary.h"
@@ -52,26 +51,26 @@ struct _GtkSourceCompletionWordsBufferClass {
};
G_GNUC_INTERNAL
-GType gtk_source_completion_words_buffer_get_type (void) G_GNUC_CONST;
+GType gtk_source_completion_words_buffer_get_type (void) G_GNUC_CONST;
G_GNUC_INTERNAL
GtkSourceCompletionWordsBuffer *
- gtk_source_completion_words_buffer_new (GtkSourceCompletionWordsLibrary *library,
- GtkTextBuffer *buffer);
+ gtk_source_completion_words_buffer_new
(GtkSourceCompletionWordsLibrary *library,
+ GtkTextBuffer
*buffer);
G_GNUC_INTERNAL
-GtkTextBuffer *gtk_source_completion_words_buffer_get_buffer (GtkSourceCompletionWordsBuffer *buffer);
+GtkTextBuffer *gtk_source_completion_words_buffer_get_buffer
(GtkSourceCompletionWordsBuffer *buffer);
G_GNUC_INTERNAL
-void gtk_source_completion_words_buffer_set_scan_batch_size (GtkSourceCompletionWordsBuffer
*buffer,
- guint
size);
+void gtk_source_completion_words_buffer_set_scan_batch_size
(GtkSourceCompletionWordsBuffer *buffer,
+ guint
size);
G_GNUC_INTERNAL
-void gtk_source_completion_words_buffer_set_minimum_word_size (GtkSourceCompletionWordsBuffer
*buffer,
- guint
size);
+void gtk_source_completion_words_buffer_set_minimum_word_size
(GtkSourceCompletionWordsBuffer *buffer,
+ guint
size);
G_GNUC_INTERNAL
-GtkTextMark *gtk_source_completion_words_buffer_get_mark (GtkSourceCompletionWordsBuffer *buffer);
+GtkTextMark *gtk_source_completion_words_buffer_get_mark
(GtkSourceCompletionWordsBuffer *buffer);
G_END_DECLS
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.h
b/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.h
index 07b2979..78b7926 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.h
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordslibrary.h
@@ -28,7 +28,7 @@
G_BEGIN_DECLS
#define GTK_SOURCE_TYPE_COMPLETION_WORDS_LIBRARY
(gtk_source_completion_words_library_get_type ())
-#define GTK_SOURCE_COMPLETION_WORDS_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_SOURCE_TYPE_COMPLETION_PROVIDER_WORDS_LIBRARY, GtkSourceCompletionWordsLibrary))
+#define GTK_SOURCE_COMPLETION_WORDS_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_SOURCE_TYPE_COMPLETION_WORDS_LIBRARY, GtkSourceCompletionWordsLibrary))
#define GTK_SOURCE_COMPLETION_WORDS_LIBRARY_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
GTK_SOURCE_TYPE_COMPLETION_WORDS_LIBRARY, GtkSourceCompletionWordsLibrary const))
#define GTK_SOURCE_COMPLETION_WORDS_LIBRARY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
GTK_SOURCE_TYPE_COMPLETION_WORDS_LIBRARY, GtkSourceCompletionWordsLibraryClass))
#define GTK_SOURCE_IS_COMPLETION_WORDS_LIBRARY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
GTK_SOURCE_TYPE_COMPLETION_WORDS_LIBRARY))
@@ -50,11 +50,11 @@ struct _GtkSourceCompletionWordsLibraryClass {
};
G_GNUC_INTERNAL
-GType gtk_source_completion_words_library_get_type (void) G_GNUC_CONST;
+GType gtk_source_completion_words_library_get_type (void) G_GNUC_CONST;
G_GNUC_INTERNAL
GtkSourceCompletionWordsLibrary *
- gtk_source_completion_words_library_new (void);
+ gtk_source_completion_words_library_new (void);
/* Finding */
G_GNUC_INTERNAL
@@ -87,13 +87,13 @@ void gtk_source_completion_words_library_remove_word
(GtkSourceCompletionWord
GtkSourceCompletionWordsProposal
*proposal);
G_GNUC_INTERNAL
-gboolean gtk_source_completion_words_library_is_locked (GtkSourceCompletionWordsLibrary
*library);
+gboolean gtk_source_completion_words_library_is_locked (GtkSourceCompletionWordsLibrary
*library);
G_GNUC_INTERNAL
-void gtk_source_completion_words_library_lock (GtkSourceCompletionWordsLibrary
*library);
+void gtk_source_completion_words_library_lock (GtkSourceCompletionWordsLibrary
*library);
G_GNUC_INTERNAL
-void gtk_source_completion_words_library_unlock (GtkSourceCompletionWordsLibrary
*library);
+void gtk_source_completion_words_library_unlock (GtkSourceCompletionWordsLibrary
*library);
G_END_DECLS
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.h
b/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.h
index 5ed0fc4..b2ec2cc 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.h
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordsproposal.h
@@ -50,7 +50,7 @@ struct _GtkSourceCompletionWordsProposalClass {
};
G_GNUC_INTERNAL
-GType gtk_source_completion_words_proposal_get_type (void) G_GNUC_CONST;
+GType gtk_source_completion_words_proposal_get_type (void) G_GNUC_CONST;
G_GNUC_INTERNAL
GtkSourceCompletionWordsProposal *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]