1 |
tetromino 11/11/03 04:16:16 |
2 |
|
3 |
Added: libpeas-1.2.0-PeasPluginInfo-annotation.patch |
4 |
Log: |
5 |
Bump to 1.2.0 from the gnome overlay. Notable changes: optional gjs support, pygobject-3 compatibility. |
6 |
|
7 |
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-libs/libpeas/files/libpeas-1.2.0-PeasPluginInfo-annotation.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpeas/files/libpeas-1.2.0-PeasPluginInfo-annotation.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpeas/files/libpeas-1.2.0-PeasPluginInfo-annotation.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: libpeas-1.2.0-PeasPluginInfo-annotation.patch |
16 |
=================================================================== |
17 |
From afa50c526ce1aab53eff3c3373a97180fc90abe2 Mon Sep 17 00:00:00 2001 |
18 |
From: Garrett Regier <garrettregier@×××××.com> |
19 |
Date: Thu, 29 Sep 2011 15:46:49 -0700 |
20 |
Subject: [PATCH] Annotate PeasPluginInfo return values as transfer none |
21 |
|
22 |
Otherwise GObject-Introspection says that it is transfer full. |
23 |
|
24 |
https://bugzilla.gnome.org/show_bug.cgi?id=660524 |
25 |
--- |
26 |
libpeas-gtk/peas-gtk-plugin-manager-view.c | 2 +- |
27 |
libpeas/peas-engine.c | 2 +- |
28 |
libpeas/peas-extension-base.c | 3 ++- |
29 |
3 files changed, 4 insertions(+), 3 deletions(-) |
30 |
|
31 |
diff --git a/libpeas-gtk/peas-gtk-plugin-manager-view.c b/libpeas-gtk/peas-gtk-plugin-manager-view.c |
32 |
index 7eb7361..5f8f55f 100644 |
33 |
--- a/libpeas-gtk/peas-gtk-plugin-manager-view.c |
34 |
+++ b/libpeas-gtk/peas-gtk-plugin-manager-view.c |
35 |
@@ -952,7 +952,7 @@ peas_gtk_plugin_manager_view_set_selected_plugin (PeasGtkPluginManagerView *view |
36 |
* |
37 |
* Returns the currently selected plugin, or %NULL if a plugin is not selected. |
38 |
* |
39 |
- * Returns: the selected plugin. |
40 |
+ * Returns: (transfer none): the selected plugin. |
41 |
*/ |
42 |
PeasPluginInfo * |
43 |
peas_gtk_plugin_manager_view_get_selected_plugin (PeasGtkPluginManagerView *view) |
44 |
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c |
45 |
index 1adf4ff..7b57d56 100644 |
46 |
--- a/libpeas/peas-engine.c |
47 |
+++ b/libpeas/peas-engine.c |
48 |
@@ -733,7 +733,7 @@ compare_plugin_info_and_name (PeasPluginInfo *info, |
49 |
* Gets the #PeasPluginInfo corresponding with @plugin_name, |
50 |
* or %NULL if @plugin_name was not found. |
51 |
* |
52 |
- * Returns: the #PeasPluginInfo corresponding with |
53 |
+ * Returns: (transfer none): the #PeasPluginInfo corresponding with |
54 |
* a given plugin module name. |
55 |
*/ |
56 |
PeasPluginInfo * |
57 |
diff --git a/libpeas/peas-extension-base.c b/libpeas/peas-extension-base.c |
58 |
index 329a25f..7c4cba0 100644 |
59 |
--- a/libpeas/peas-extension-base.c |
60 |
+++ b/libpeas/peas-extension-base.c |
61 |
@@ -141,7 +141,8 @@ peas_extension_base_class_init (PeasExtensionBaseClass *klass) |
62 |
* |
63 |
* Get information relative to @extbase. |
64 |
* |
65 |
- * Return value: the #PeasPluginInfo relative to the #PeasExtensionBase. |
66 |
+ * Return value: (transfer none): the #PeasPluginInfo relative |
67 |
+ * to the #PeasExtensionBase. |
68 |
*/ |
69 |
PeasPluginInfo * |
70 |
peas_extension_base_get_plugin_info (PeasExtensionBase *extbase) |
71 |
-- |
72 |
1.7.7.2 |