summaryrefslogtreecommitdiff
path: root/gobject/gbinding.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-03-15 09:03:28 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-03-15 09:03:28 +0000
commit08f0a312895e0dd457f5f4d5bcdf282a6d5a793f (patch)
treec007d8a6024c8c1ee088b8a53caa5dac435cda2f /gobject/gbinding.c
parent0c1acc7e741a01bf37d4c5f7a97ba1661f25d36a (diff)
Revert "Remove all uses of G_CONST_RETURN"
This reverts commit 36741245cca56e979fe85e3de676fb3912058f2c. The removal has not been discussed, except on Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=644611
Diffstat (limited to 'gobject/gbinding.c')
-rw-r--r--gobject/gbinding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/gbinding.c b/gobject/gbinding.c
index 99a720786..c73c4e654 100644
--- a/gobject/gbinding.c
+++ b/gobject/gbinding.c
@@ -742,7 +742,7 @@ g_binding_get_target (GBinding *binding)
*
* Since: 2.26
*/
-const gchar *
+G_CONST_RETURN gchar *
g_binding_get_source_property (GBinding *binding)
{
g_return_val_if_fail (G_IS_BINDING (binding), NULL);
@@ -761,7 +761,7 @@ g_binding_get_source_property (GBinding *binding)
*
* Since: 2.26
*/
-const gchar *
+G_CONST_RETURN gchar *
g_binding_get_target_property (GBinding *binding)
{
g_return_val_if_fail (G_IS_BINDING (binding), NULL);