Commit 3bb3e44c authored by Christian Hergert's avatar Christian Hergert
Browse files

indenter: drop :context property

We can get :context from the IdeObject class now.
parent be18668d
......@@ -21,7 +21,7 @@
#include "ide-context.h"
#include "ide-indenter.h"
G_DEFINE_INTERFACE (IdeIndenter, ide_indenter, G_TYPE_OBJECT)
G_DEFINE_INTERFACE (IdeIndenter, ide_indenter, IDE_TYPE_OBJECT)
static gchar *
ide_indenter_default_format (IdeIndenter *self,
......@@ -46,13 +46,6 @@ ide_indenter_default_init (IdeIndenterInterface *iface)
iface->format = ide_indenter_default_format;
iface->is_trigger = ide_indenter_default_is_trigger;
g_object_interface_install_property (iface,
g_param_spec_object ("context",
......@@ -27,7 +27,7 @@ G_BEGIN_DECLS
#define IDE_TYPE_INDENTER (ide_indenter_get_type())
G_DECLARE_INTERFACE (IdeIndenter, ide_indenter, IDE, INDENTER, GObject)
G_DECLARE_INTERFACE (IdeIndenter, ide_indenter, IDE, INDENTER, IdeObject)
struct _IdeIndenterInterface
......@@ -41,8 +41,6 @@ struct _IdeIndenterInterface
GdkEventKey *event);
gboolean (*is_trigger) (IdeIndenter *self,
GdkEventKey *event);
void (*set_context) (IdeIndenter *self,
IdeContext *context);
gboolean ide_indenter_is_trigger (IdeIndenter *self,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment