dee

Merge lp:~mhr3/dee/quantal-compability into lp:dee

Proposed by Michal Hruby
Status: Merged
Approved by: Łukasz Zemczak
Approved revision: 370
Merged at revision: 369
Proposed branch: lp:~mhr3/dee/quantal-compability
Merge into: lp:dee
Diff against target: 314 lines (+17/-24)
23 files modified
examples/master-model.c (+2/-0)
examples/peers.c (+3/-1)
examples/slave-model.c (+3/-1)
src/dee-client.c (+0/-2)
src/dee-filter-model.c (+2/-1)
src/dee-index.c (+4/-2)
src/dee-peer.c (+1/-1)
src/dee-sequence-model.h (+1/-1)
src/dee-shared-model.h (+1/-1)
tests/model-helper-add3rows.c (+0/-1)
tests/model-helper-append1.c (+0/-1)
tests/model-helper-clear3add5.c (+0/-1)
tests/model-helper-clear3rows.c (+0/-1)
tests/model-helper-clear6rows.c (+0/-1)
tests/model-helper-clone3rows.c (+0/-1)
tests/model-helper-insert1row.c (+0/-1)
tests/model-helper-introspect.c (+0/-1)
tests/model-helper-replace.c (+0/-1)
tests/model-helper-schemaless.c (+0/-1)
tests/peer-helper-1peer.c (+0/-1)
tests/server-helper-client.c (+0/-1)
tests/test-benchmark.c (+0/-1)
tests/test-dee.c (+0/-1)
To merge this branch: bzr merge lp:~mhr3/dee/quantal-compability
Reviewer Review Type Date Requested Status
Łukasz Zemczak Approve
Review via email: mp+112358@code.launchpad.net

Commit message

Fix a few introspection annotations to unbreak quantal

Description of the change

Fix a few introspection annotations to unbreak compilation on quantal.

To post a comment you must log in.
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Works for me. Thanks for this fix!

review: Approve
Revision history for this message
Unity Merger (unity-merger) wrote :

The Jenkins job https://jenkins.qa.ubuntu.com/job/automerge-dee/69/console reported an error when processing this lp:~mhr3/dee/quantal-compability branch.
Not merging it.

lp:~mhr3/dee/quantal-compability updated
370. By Michal Hruby

Remove deprecated g_thread_init

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'examples/master-model.c'
--- examples/master-model.c 2011-01-31 09:01:53 +0000
+++ examples/master-model.c 2012-06-27 14:27:18 +0000
@@ -52,7 +52,9 @@
52 DeeModel *model;52 DeeModel *model;
53 53
54 g_type_init ();54 g_type_init ();
55#if !GLIB_CHECK_VERSION(2, 32, 0)
55 g_thread_init (NULL);56 g_thread_init (NULL);
57#endif
5658
57 model = dee_shared_model_new ("com.canonical.Dee.Model.Example");59 model = dee_shared_model_new ("com.canonical.Dee.Model.Example");
58 dee_model_set_schema (model, "i", "s", NULL);60 dee_model_set_schema (model, "i", "s", NULL);
5961
=== modified file 'examples/peers.c'
--- examples/peers.c 2010-11-24 11:41:54 +0000
+++ examples/peers.c 2012-06-27 14:27:18 +0000
@@ -54,8 +54,10 @@
54 GMainLoop *loop;54 GMainLoop *loop;
55 DeePeer *peer;55 DeePeer *peer;
56 56
57 g_type_init (); 57 g_type_init ();
58#if !GLIB_CHECK_VERSION(2, 32, 0)
58 g_thread_init (NULL);59 g_thread_init (NULL);
60#endif
5961
60 peer = g_object_new (DEE_TYPE_PEER,62 peer = g_object_new (DEE_TYPE_PEER,
61 "swarm-name", "com.canonical.DeePeer.Test",63 "swarm-name", "com.canonical.DeePeer.Test",
6264
=== modified file 'examples/slave-model.c'
--- examples/slave-model.c 2011-02-09 03:44:27 +0000
+++ examples/slave-model.c 2012-06-27 14:27:18 +0000
@@ -65,8 +65,10 @@
65 DeeModel *model;65 DeeModel *model;
66 const gchar *model_name;66 const gchar *model_name;
67 67
68 g_type_init (); 68 g_type_init ();
69#if !GLIB_CHECK_VERSION(2, 32, 0)
69 g_thread_init (NULL);70 g_thread_init (NULL);
71#endif
7072
71 if (argc < 2)73 if (argc < 2)
72 model_name = "com.canonical.Dee.Model.Example";74 model_name = "com.canonical.Dee.Model.Example";
7375
=== modified file 'src/dee-client.c'
--- src/dee-client.c 2012-01-26 14:08:54 +0000
+++ src/dee-client.c 2012-06-27 14:27:18 +0000
@@ -243,7 +243,6 @@
243243
244/**244/**
245 * dee_client_new:245 * dee_client_new:
246 *
247 * @swarm_name: Name of swarm to join.246 * @swarm_name: Name of swarm to join.
248 *247 *
249 * Creates a new instance of #DeeClient and tries to connect to #DeeServer248 * Creates a new instance of #DeeClient and tries to connect to #DeeServer
@@ -263,7 +262,6 @@
263262
264/**263/**
265 * dee_client_new_for_address:264 * dee_client_new_for_address:
266 *
267 * @swarm_name: Name of swarm to join.265 * @swarm_name: Name of swarm to join.
268 * @bus_address: D-Bus address to use when connecting to the server.266 * @bus_address: D-Bus address to use when connecting to the server.
269 *267 *
270268
=== modified file 'src/dee-filter-model.c'
--- src/dee-filter-model.c 2012-01-09 14:31:36 +0000
+++ src/dee-filter-model.c 2012-06-27 14:27:18 +0000
@@ -298,9 +298,10 @@
298 /**298 /**
299 * DeeFilterModel:filter:299 * DeeFilterModel:filter:
300 *300 *
301 * Type: DeeFilter
302 * Property holding the #DeeFilter used to filter the model301 * Property holding the #DeeFilter used to filter the model
303 * defined in the #DeeFilterModel:back-end property.302 * defined in the #DeeFilterModel:back-end property.
303 *
304 * Type: DeeFilter
304 */305 */
305 pspec = g_param_spec_pointer ("filter", "Filter",306 pspec = g_param_spec_pointer ("filter", "Filter",
306 "Filtering rules applied to the original model",307 "Filtering rules applied to the original model",
307308
=== modified file 'src/dee-index.c'
--- src/dee-index.c 2011-11-25 08:06:36 +0000
+++ src/dee-index.c 2012-06-27 14:27:18 +0000
@@ -172,8 +172,9 @@
172 /**172 /**
173 * DeeIndex:analyzer:173 * DeeIndex:analyzer:
174 *174 *
175 * The #DeeAnalyzer used to analyze terms extracted by the model reader
176 *
175 * Type: DeeAnalyzer177 * Type: DeeAnalyzer
176 * The #DeeAnalyzer used to analyze terms extracted by the model reader
177 */178 */
178 pspec = g_param_spec_object("analyzer", "Analyzer",179 pspec = g_param_spec_object("analyzer", "Analyzer",
179 "Analyzing terms extracted by the reader",180 "Analyzing terms extracted by the reader",
@@ -185,8 +186,9 @@
185 /**186 /**
186 * DeeIndex:reader:187 * DeeIndex:reader:
187 *188 *
189 * The #DeeModelReader used to extract terms from rows in the model
190 *
188 * Type: DeeModelReader191 * Type: DeeModelReader
189 * The #DeeModelReader used to extract terms from rows in the model
190 */192 */
191 pspec = g_param_spec_pointer("reader", "Reader",193 pspec = g_param_spec_pointer("reader", "Reader",
192 "The reader extracting terms for each row",194 "The reader extracting terms for each row",
193195
=== modified file 'src/dee-peer.c'
--- src/dee-peer.c 2012-02-28 10:56:27 +0000
+++ src/dee-peer.c 2012-06-27 14:27:18 +0000
@@ -784,7 +784,7 @@
784/* Public Methods */784/* Public Methods */
785785
786/**786/**
787 * dee_peer_new787 * dee_peer_new:
788 * @swarm_name: The name of the swarm to join.788 * @swarm_name: The name of the swarm to join.
789 * Fx &quot;org.example.DataProviders&quot;789 * Fx &quot;org.example.DataProviders&quot;
790 *790 *
791791
=== modified file 'src/dee-sequence-model.h'
--- src/dee-sequence-model.h 2011-08-01 13:46:03 +0000
+++ src/dee-sequence-model.h 2012-06-27 14:27:18 +0000
@@ -68,7 +68,7 @@
68};68};
6969
70/**70/**
71 * DBUS_INTERFACE_SEQUENCE_MODEL71 * DEE_SEQUENCE_MODEL_DBUS_IFACE:
72 *72 *
73 * String constant defining the name of the DBus Model interface.73 * String constant defining the name of the DBus Model interface.
74 */74 */
7575
=== modified file 'src/dee-shared-model.h'
--- src/dee-shared-model.h 2012-02-28 10:56:27 +0000
+++ src/dee-shared-model.h 2012-06-27 14:27:18 +0000
@@ -69,7 +69,7 @@
69};69};
7070
71/**71/**
72 * DBUS_INTERFACE_SHARED_MODEL72 * DEE_SHARED_MODEL_DBUS_IFACE:
73 *73 *
74 * String constant defining the name of the DBus Model interface.74 * String constant defining the name of the DBus Model interface.
75 */75 */
7676
=== modified file 'tests/model-helper-add3rows.c'
--- tests/model-helper-add3rows.c 2012-01-05 19:27:06 +0000
+++ tests/model-helper-add3rows.c 2012-06-27 14:27:18 +0000
@@ -58,7 +58,6 @@
58 GSList *rows_added;58 GSList *rows_added;
59 59
60 g_type_init (); 60 g_type_init ();
61 g_thread_init (NULL);
6261
63 if (argc == 2)62 if (argc == 2)
64 model = dee_shared_model_new (argv[1]);63 model = dee_shared_model_new (argv[1]);
6564
=== modified file 'tests/model-helper-append1.c'
--- tests/model-helper-append1.c 2012-02-27 19:20:57 +0000
+++ tests/model-helper-append1.c 2012-06-27 14:27:18 +0000
@@ -32,7 +32,6 @@
32 DeeModel *model;32 DeeModel *model;
33 33
34 g_type_init (); 34 g_type_init ();
35 g_thread_init (NULL);
3635
37 if (argc == 2)36 if (argc == 2)
38 model = dee_shared_model_new (argv[1]);37 model = dee_shared_model_new (argv[1]);
3938
=== modified file 'tests/model-helper-clear3add5.c'
--- tests/model-helper-clear3add5.c 2012-02-03 11:34:32 +0000
+++ tests/model-helper-clear3add5.c 2012-06-27 14:27:18 +0000
@@ -58,7 +58,6 @@
58 GSList *added;58 GSList *added;
59 59
60 g_type_init (); 60 g_type_init ();
61 g_thread_init (NULL);
6261
63 if (argc == 2)62 if (argc == 2)
64 model = dee_shared_model_new (argv[1]);63 model = dee_shared_model_new (argv[1]);
6564
=== modified file 'tests/model-helper-clear3rows.c'
--- tests/model-helper-clear3rows.c 2012-01-05 19:27:06 +0000
+++ tests/model-helper-clear3rows.c 2012-06-27 14:27:18 +0000
@@ -57,7 +57,6 @@
57 GSList *removed;57 GSList *removed;
58 58
59 g_type_init (); 59 g_type_init ();
60 g_thread_init (NULL);
6160
62 if (argc == 2)61 if (argc == 2)
63 model = dee_shared_model_new (argv[1]);62 model = dee_shared_model_new (argv[1]);
6463
=== modified file 'tests/model-helper-clear6rows.c'
--- tests/model-helper-clear6rows.c 2012-02-26 23:10:58 +0000
+++ tests/model-helper-clear6rows.c 2012-06-27 14:27:18 +0000
@@ -59,7 +59,6 @@
59 GSList *removed;59 GSList *removed;
60 60
61 g_type_init (); 61 g_type_init ();
62 g_thread_init (NULL);
6362
64 if (argc == 2)63 if (argc == 2)
65 model = dee_shared_model_new (argv[1]);64 model = dee_shared_model_new (argv[1]);
6665
=== modified file 'tests/model-helper-clone3rows.c'
--- tests/model-helper-clone3rows.c 2012-04-05 11:44:38 +0000
+++ tests/model-helper-clone3rows.c 2012-06-27 14:27:18 +0000
@@ -41,7 +41,6 @@
41 gint num_added;41 gint num_added;
42 42
43 g_type_init (); 43 g_type_init ();
44 g_thread_init (NULL);
4544
46 g_set_prgname ("model-helper");45 g_set_prgname ("model-helper");
4746
4847
=== modified file 'tests/model-helper-insert1row.c'
--- tests/model-helper-insert1row.c 2011-12-14 14:09:58 +0000
+++ tests/model-helper-insert1row.c 2012-06-27 14:27:18 +0000
@@ -41,7 +41,6 @@
41 GSList *rows_added;41 GSList *rows_added;
42 42
43 g_type_init (); 43 g_type_init ();
44 g_thread_init (NULL);
4544
46 if (argc == 2)45 if (argc == 2)
47 model = dee_shared_model_new (argv[1]);46 model = dee_shared_model_new (argv[1]);
4847
=== modified file 'tests/model-helper-introspect.c'
--- tests/model-helper-introspect.c 2010-12-15 13:10:51 +0000
+++ tests/model-helper-introspect.c 2012-06-27 14:27:18 +0000
@@ -50,7 +50,6 @@
50 GVariant *introspection_value;50 GVariant *introspection_value;
51 51
52 g_type_init (); 52 g_type_init ();
53 g_thread_init (NULL);
5453
55 error = NULL;54 error = NULL;
56 conn = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);55 conn = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
5756
=== modified file 'tests/model-helper-replace.c'
--- tests/model-helper-replace.c 2012-02-27 18:50:45 +0000
+++ tests/model-helper-replace.c 2012-06-27 14:27:18 +0000
@@ -34,7 +34,6 @@
34 DeeModel *model;34 DeeModel *model;
35 35
36 g_type_init ();36 g_type_init ();
37 g_thread_init (NULL);
3837
39 if (argc == 2)38 if (argc == 2)
40 {39 {
4140
=== modified file 'tests/model-helper-schemaless.c'
--- tests/model-helper-schemaless.c 2011-12-14 14:09:58 +0000
+++ tests/model-helper-schemaless.c 2012-06-27 14:27:18 +0000
@@ -33,7 +33,6 @@
33 DeeModel *model;33 DeeModel *model;
34 34
35 g_type_init (); 35 g_type_init ();
36 g_thread_init (NULL);
3736
38 if (argc == 2)37 if (argc == 2)
39 model = dee_shared_model_new (argv[1]);38 model = dee_shared_model_new (argv[1]);
4039
=== modified file 'tests/peer-helper-1peer.c'
--- tests/peer-helper-1peer.c 2012-01-02 15:59:19 +0000
+++ tests/peer-helper-1peer.c 2012-06-27 14:27:18 +0000
@@ -46,7 +46,6 @@
46 DeePeer *peer;46 DeePeer *peer;
47 47
48 g_type_init (); 48 g_type_init ();
49 g_thread_init (NULL);
5049
51 peer = dee_peer_new (argv[1]);50 peer = dee_peer_new (argv[1]);
52 51
5352
=== modified file 'tests/server-helper-client.c'
--- tests/server-helper-client.c 2012-01-06 10:35:30 +0000
+++ tests/server-helper-client.c 2012-06-27 14:27:18 +0000
@@ -82,7 +82,6 @@
82 int num_clients, i;82 int num_clients, i;
83 83
84 g_type_init ();84 g_type_init ();
85 g_thread_init (NULL);
8685
87 if (argc < 3) g_error ("Invalid invocation");86 if (argc < 3) g_error ("Invalid invocation");
8887
8988
=== modified file 'tests/test-benchmark.c'
--- tests/test-benchmark.c 2012-02-28 13:21:42 +0000
+++ tests/test-benchmark.c 2012-06-27 14:27:18 +0000
@@ -541,7 +541,6 @@
541main (gint argc, gchar *argv[])541main (gint argc, gchar *argv[])
542{542{
543 g_type_init ();543 g_type_init ();
544 g_thread_init (NULL);
545 g_test_init (&argc, &argv, NULL);544 g_test_init (&argc, &argv, NULL);
546 545
547 /* Extract NULL terminated array of prefixes from arguments */546 /* Extract NULL terminated array of prefixes from arguments */
548547
=== modified file 'tests/test-dee.c'
--- tests/test-dee.c 2012-03-16 11:48:56 +0000
+++ tests/test-dee.c 2012-06-27 14:27:18 +0000
@@ -52,7 +52,6 @@
52main (gint argc, gchar *argv[])52main (gint argc, gchar *argv[])
53{53{
54 g_type_init (); 54 g_type_init ();
55 g_thread_init (NULL);
5655
57 g_test_init (&argc, &argv, NULL);56 g_test_init (&argc, &argv, NULL);
58 setlocale (LC_ALL, "");57 setlocale (LC_ALL, "");

Subscribers

People subscribed via source and target branches

to all changes: