[gnome-builder/gnome-builder-3-18] libide: allow accessing ide_object_set_context()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] libide: allow accessing ide_object_set_context()
- Date: Tue, 13 Oct 2015 07:23:10 +0000 (UTC)
commit 21b588bc5b87c69a9d16e16b2628d0e8e4483f97
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]