[gnome-builder] python: ensure we have a :context gproperty
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] python: ensure we have a :context gproperty
- Date: Wed, 15 Jul 2015 21:57:35 +0000 (UTC)
commit 2deec3a476dfa0011c35c1a27490a654e66a28a9
Author: Christian Hergert <christian hergert me>
Date: Wed Jul 15 11:54:04 2015 -0700
python: ensure we have a :context gproperty
plugins/python-pack/ide-python-format-provider.c | 4 ++--
plugins/python-pack/ide-python-format-provider.h | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plugins/python-pack/ide-python-format-provider.c
b/plugins/python-pack/ide-python-format-provider.c
index 7eb7d26..6b81ca5 100644
--- a/plugins/python-pack/ide-python-format-provider.c
+++ b/plugins/python-pack/ide-python-format-provider.c
@@ -24,7 +24,7 @@
struct _IdePythonFormatProvider
{
- GObject parent_instance;
+ IdeObject parent_instance;
};
enum {
@@ -43,7 +43,7 @@ static void completion_provider_iface_init (GtkSourceCompletionProviderIface *);
G_DEFINE_DYNAMIC_TYPE_EXTENDED (IdePythonFormatProvider,
ide_python_format_provider,
- G_TYPE_OBJECT,
+ IDE_TYPE_OBJECT,
0,
G_IMPLEMENT_INTERFACE (GTK_SOURCE_TYPE_COMPLETION_PROVIDER,
completion_provider_iface_init)
diff --git a/plugins/python-pack/ide-python-format-provider.h
b/plugins/python-pack/ide-python-format-provider.h
index fc2b4e1..694ad0d 100644
--- a/plugins/python-pack/ide-python-format-provider.h
+++ b/plugins/python-pack/ide-python-format-provider.h
@@ -22,12 +22,13 @@
#include <gtksourceview/gtksourcecompletionprovider.h>
#include "ide-completion-provider.h"
+#include "ide-object.h"
G_BEGIN_DECLS
#define IDE_TYPE_PYTHON_FORMAT_PROVIDER (ide_python_format_provider_get_type())
-G_DECLARE_FINAL_TYPE (IdePythonFormatProvider, ide_python_format_provider, IDE, PYTHON_FORMAT_PROVIDER,
GObject)
+G_DECLARE_FINAL_TYPE (IdePythonFormatProvider, ide_python_format_provider, IDE, PYTHON_FORMAT_PROVIDER,
IdeObject)
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]