[gnome-builder] libide: allow accessing ide_object_set_context()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: allow accessing ide_object_set_context()
- Date: Sat, 26 Sep 2015 05:34:54 +0000 (UTC)
commit 54b7dd6dd4277d260450ccddf10c8c4dfbe20f1a
Author: Christian Hergert <christian hergert me>
Date: Tue Sep 22 00:38:35 2015 -0700
libide: allow accessing ide_object_set_context()
This should help bindings in some languages that want access to this
vfunc even though it shouldn't really be called.
libide/ide-object.c | 2 +-
libide/ide-object.h | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-object.c b/libide/ide-object.c
index d76a4d0..ad3d532 100644
--- a/libide/ide-object.c
+++ b/libide/ide-object.c
@@ -111,7 +111,7 @@ ide_object_get_context (IdeObject *self)
return priv->context;
}
-static void
+void
ide_object_set_context (IdeObject *self,
IdeContext *context)
{
diff --git a/libide/ide-object.h b/libide/ide-object.h
index 14b655b..2337a7d 100644
--- a/libide/ide-object.h
+++ b/libide/ide-object.h
@@ -37,6 +37,8 @@ struct _IdeObjectClass
};
IdeContext *ide_object_get_context (IdeObject *self);
+void ide_object_set_context (IdeObject *self,
+ IdeContext *context);
void ide_object_new_for_extension_async
(GType interface_gtype,
GCompareDataFunc sort_priority_func,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]