~ubuntu-branches/ubuntu/raring/gcr/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/00git_gobject_gi_name.patch

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-04-03 11:17:42 UTC
  • Revision ID: package-import@ubuntu.com-20130403111742-3pgbsva6v4cqrh1i
Tags: 3.6.2-0ubuntu2
Add 00git_gobject_gi_name.patch: Use GObject.Object instead of GLib.Object
in introspection annotations. Patch backported from 3.8. Fixes FTBFS.
(LP: #1163786)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 0b889388a7f45258fa2291dd577b2ea7ca8d42c0 Mon Sep 17 00:00:00 2001
 
2
From: Stef Walter <stefw@gnome.org>
 
3
Date: Mon, 11 Feb 2013 16:43:54 +0000
 
4
Subject: Use GObject.Object instead of GLib.Object in introspection annotations
 
5
 
 
6
A gobject-introspection change broke the former.
 
7
 
 
8
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=693440
 
9
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1163786
 
10
 
 
11
Index: gcr-3.6.2/gck/gck-misc.c
 
12
===================================================================
 
13
--- gcr-3.6.2.orig/gck/gck-misc.c       2012-10-27 15:03:06.000000000 +0200
 
14
+++ gcr-3.6.2/gck/gck-misc.c    2013-04-03 11:15:51.006103179 +0200
 
15
@@ -261,7 +261,7 @@
 
16
 
 
17
 /**
 
18
  * gck_list_unref_free: (skip)
 
19
- * @reflist: (element-type GLib.Object): list of Gobject reference counted pointers
 
20
+ * @reflist: (element-type GObject.Object): list of Gobject reference counted pointers
 
21
  *
 
22
  * Free a list of GObject based pointers. All objects in the list
 
23
  * will be unreffed and then the list itself will be freed.
 
24
@@ -279,13 +279,13 @@
 
25
 
 
26
 /**
 
27
  * gck_list_ref_copy: (skip)
 
28
- * @reflist: (element-type GLib.Object): list of GObject reference counted
 
29
+ * @reflist: (element-type GObject.Object): list of GObject reference counted
 
30
  *           objects
 
31
  *
 
32
  * Copy a list of GObject based pointers. All objects
 
33
  * in the list will be reffed and the list will be copied.
 
34
  *
 
35
- * Return value: (transfer full) (element-type GLib.Object): the copied and
 
36
+ * Return value: (transfer full) (element-type GObject.Object): the copied and
 
37
  *               reffed list, when done, free it with gck_list_unref_free ()
 
38
  **/
 
39
 GList *
 
40
Index: gcr-3.6.2/gcr/gcr-collection-model.c
 
41
===================================================================
 
42
--- gcr-3.6.2.orig/gcr/gcr-collection-model.c   2012-09-19 11:01:28.000000000 +0200
 
43
+++ gcr-3.6.2/gcr/gcr-collection-model.c        2013-04-03 11:15:50.838103171 +0200
 
44
@@ -1587,7 +1587,7 @@
 
45
  *
 
46
  * Get a list of checked/selected objects.
 
47
  *
 
48
- * Returns: (transfer container) (element-type GLib.Object): a list of selected
 
49
+ * Returns: (transfer container) (element-type GObject.Object): a list of selected
 
50
  *          objects, which should be freed with g_list_free()
 
51
  */
 
52
 GList *
 
53
@@ -1611,7 +1611,7 @@
 
54
 /**
 
55
  * gcr_collection_model_set_selected_objects:
 
56
  * @self: the collection model
 
57
- * @selected: (element-type GLib.Object): a list of objects to select
 
58
+ * @selected: (element-type GObject.Object): a list of objects to select
 
59
  *
 
60
  * Set the checked/selected objects.
 
61
  */
 
62
Index: gcr-3.6.2/gcr/gcr-collection.c
 
63
===================================================================
 
64
--- gcr-3.6.2.orig/gcr/gcr-collection.c 2012-10-27 15:03:44.000000000 +0200
 
65
+++ gcr-3.6.2/gcr/gcr-collection.c      2013-04-03 11:15:50.814103170 +0200
 
66
@@ -65,7 +65,7 @@
 
67
                /**
 
68
                 * GcrCollection::added:
 
69
                 * @self: the collection
 
70
-                * @object: (type GLib.Object): object that was added
 
71
+                * @object: (type GObject.Object): object that was added
 
72
                 *
 
73
                 * This signal is emitted when an object is added to the collection.
 
74
                 */
 
75
@@ -77,7 +77,7 @@
 
76
                /**
 
77
                 * GcrCollection::removed:
 
78
                 * @self: the collection
 
79
-                * @object: (type GLib.Object): object that was removed
 
80
+                * @object: (type GObject.Object): object that was removed
 
81
                 *
 
82
                 * This signal is emitted when an object is removed from the collection.
 
83
                 */
 
84
@@ -117,7 +117,7 @@
 
85
  *
 
86
  * Get a list of the objects in this collection.
 
87
  *
 
88
- * Returns: (transfer container) (element-type GLib.Object): a list of the objects
 
89
+ * Returns: (transfer container) (element-type GObject.Object): a list of the objects
 
90
  *          in this collection, which should be freed with g_list_free()
 
91
  */
 
92
 GList*
 
93
Index: gcr-3.6.2/gcr/gcr-list-selector.c
 
94
===================================================================
 
95
--- gcr-3.6.2.orig/gcr/gcr-list-selector.c      2012-09-19 11:01:28.000000000 +0200
 
96
+++ gcr-3.6.2/gcr/gcr-list-selector.c   2013-04-03 11:15:50.878103173 +0200
 
97
@@ -396,7 +396,7 @@
 
98
  *
 
99
  * Get a list of selected objects.
 
100
  *
 
101
- * Returns: (transfer container) (element-type GLib.Object): the list of
 
102
+ * Returns: (transfer container) (element-type GObject.Object): the list of
 
103
  *          selected objects, to be released with g_list_free()
 
104
  */
 
105
 GList*
 
106
@@ -409,7 +409,7 @@
 
107
 /**
 
108
  * gcr_list_selector_set_selected:
 
109
  * @self: The selector
 
110
- * @selected: (element-type GLib.Object): the list of objects to select
 
111
+ * @selected: (element-type GObject.Object): the list of objects to select
 
112
  *
 
113
  * Select certain objects in the selector.
 
114
  */
 
115
Index: gcr-3.6.2/gcr/gcr-tree-selector.c
 
116
===================================================================
 
117
--- gcr-3.6.2.orig/gcr/gcr-tree-selector.c      2012-09-19 11:01:28.000000000 +0200
 
118
+++ gcr-3.6.2/gcr/gcr-tree-selector.c   2013-04-03 11:15:50.922103175 +0200
 
119
@@ -337,7 +337,7 @@
 
120
  *
 
121
  * Get a list of selected objects.
 
122
  *
 
123
- * Returns: (transfer container) (element-type GLib.Object): the list of selected
 
124
+ * Returns: (transfer container) (element-type GObject.Object): the list of selected
 
125
  *          objects, to be released with g_list_free()
 
126
  */
 
127
 GList*
 
128
@@ -350,7 +350,7 @@
 
129
 /**
 
130
  * gcr_tree_selector_set_selected:
 
131
  * @self: The selector
 
132
- * @selected: (element-type GLib.Object): The list of objects to select.
 
133
+ * @selected: (element-type GObject.Object): The list of objects to select.
 
134
  *
 
135
  * Select certain objects in the selector.
 
136
  */