[gnome-builder] comment-code-plugin: minor fixes
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] comment-code-plugin: minor fixes
- Date: Sat, 19 Mar 2016 21:43:58 +0000 (UTC)
commit 861e62bc7f28c3806d5bed84024c1d60b4dd5f6e
Author: Sebastien Lafargue <slafargue gnome org>
Date: Sat Mar 19 22:42:21 2016 +0100
comment-code-plugin: minor fixes
plugins/comment-code/comment-code.plugin | 1 +
plugins/comment-code/gbp-comment-code-view-addin.c | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plugins/comment-code/comment-code.plugin b/plugins/comment-code/comment-code.plugin
index d4bc93f..dc3905c 100644
--- a/plugins/comment-code/comment-code.plugin
+++ b/plugins/comment-code/comment-code.plugin
@@ -6,5 +6,6 @@ Authors=Sebastien Lafargue <slafargue gnome org>
Copyright=Copyright © 2016 Sebastien Lafargue
Builtin=true
Hidden=true
+Depends=editor
X-Tool-Name=comment-code
X-Tool-Description=Comment code lines
diff --git a/plugins/comment-code/gbp-comment-code-view-addin.c
b/plugins/comment-code/gbp-comment-code-view-addin.c
index aab74ce..732784a 100644
--- a/plugins/comment-code/gbp-comment-code-view-addin.c
+++ b/plugins/comment-code/gbp-comment-code-view-addin.c
@@ -32,10 +32,10 @@ struct _GbpCommentCodeViewAddin
IdeEditorView *editor_view;
};
-static void iface_init (IdeEditorViewAddinInterface *iface);
+static void editor_view_addin_iface_init (IdeEditorViewAddinInterface *iface);
G_DEFINE_TYPE_EXTENDED (GbpCommentCodeViewAddin, gbp_comment_code_view_addin, G_TYPE_OBJECT, 0,
- G_IMPLEMENT_INTERFACE (IDE_TYPE_EDITOR_VIEW_ADDIN, iface_init))
+ G_IMPLEMENT_INTERFACE (IDE_TYPE_EDITOR_VIEW_ADDIN, editor_view_addin_iface_init))
/* If there's only empty lines, G_MAXINT is returned */
static gint
@@ -415,7 +415,7 @@ gbp_comment_code_view_addin_init (GbpCommentCodeViewAddin *self)
}
static void
-iface_init (IdeEditorViewAddinInterface *iface)
+editor_view_addin_iface_init (IdeEditorViewAddinInterface *iface)
{
iface->load = gbp_comment_code_view_addin_load;
iface->unload = gbp_comment_code_view_addin_unload;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]