Merge lp:~ted/libindicator/lp937387 into lp:libindicator/0.5

Proposed by Ted Gould
Status: Merged
Merged at revision: 451
Proposed branch: lp:~ted/libindicator/lp937387
Merge into: lp:libindicator/0.5
Diff against target: 36 lines (+4/-4)
2 files modified
libindicator/indicator-object.c (+2/-2)
libindicator/indicator-object.h (+2/-2)
To merge this branch: bzr merge lp:~ted/libindicator/lp937387
Reviewer Review Type Date Requested Status
Indicator Applet Developers Pending
Review via email: mp+94243@code.launchpad.net

Description of the change

Fixing unenforcable consts

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libindicator/indicator-object.c'
2--- libindicator/indicator-object.c 2012-02-13 18:38:10 +0000
3+++ libindicator/indicator-object.c 2012-02-22 18:21:31 +0000
4@@ -795,7 +795,7 @@
5 in different hosts if need be.
6 */
7 void
8-indicator_object_set_environment (IndicatorObject * io, const GStrv env)
9+indicator_object_set_environment (IndicatorObject * io, GStrv env)
10 {
11 /* FIXME: should this be a property? */
12 g_return_if_fail(INDICATOR_IS_OBJECT(io));
13@@ -820,7 +820,7 @@
14 Return value: (transfer none): Gets the list of strings that
15 represent the environment or NULL if none were given.
16 */
17-const GStrv
18+GStrv
19 indicator_object_get_environment (IndicatorObject * io)
20 {
21 g_return_val_if_fail(INDICATOR_IS_OBJECT(io), NULL);
22
23=== modified file 'libindicator/indicator-object.h'
24--- libindicator/indicator-object.h 2012-01-23 23:00:29 +0000
25+++ libindicator/indicator-object.h 2012-02-22 18:21:31 +0000
26@@ -203,8 +203,8 @@
27 void indicator_object_entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp);
28 void indicator_object_entry_close (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp);
29
30-void indicator_object_set_environment (IndicatorObject * io, const GStrv env);
31-const GStrv indicator_object_get_environment (IndicatorObject * io);
32+void indicator_object_set_environment (IndicatorObject * io, GStrv env);
33+GStrv indicator_object_get_environment (IndicatorObject * io);
34 gboolean indicator_object_check_environment (IndicatorObject * io, const gchar * env);
35
36 G_END_DECLS

Subscribers

People subscribed via source and target branches