From: Martin Baulig Date: Wed, 21 Mar 2001 11:16:38 +0000 (+0000) Subject: This takes a `const GValue *' argument. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=fb3a83820eda4211431e623e21b7c3b900503d61;p=dana%2Fcg-glib.git This takes a `const GValue *' argument. 2001-03-21 Martin Baulig * gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *' argument. --- diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 93f878af..37487b70 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,8 @@ +2001-03-21 Martin Baulig + + * gboxed.[ch] (g_value_dup_boxed): This takes a `const GValue *' + argument. + 2001-03-18 Tor Lillqvist * gobject.def: Correct some renamed functions. diff --git a/gobject/gboxed.c b/gobject/gboxed.c index 2924622f..82fe36d7 100644 --- a/gobject/gboxed.c +++ b/gobject/gboxed.c @@ -437,7 +437,7 @@ g_value_get_boxed (const GValue *value) } gpointer -g_value_dup_boxed (GValue *value) +g_value_dup_boxed (const GValue *value) { g_return_val_if_fail (G_VALUE_HOLDS_BOXED (value), NULL); g_return_val_if_fail (G_TYPE_IS_VALUE (G_VALUE_TYPE (value)), NULL); diff --git a/gobject/gboxed.h b/gobject/gboxed.h index e4e8f5e8..742fd1d4 100644 --- a/gobject/gboxed.h +++ b/gobject/gboxed.h @@ -45,7 +45,7 @@ void g_value_set_boxed (GValue *value, void g_value_set_static_boxed (GValue *value, gconstpointer boxed); gpointer g_value_get_boxed (const GValue *value); -gpointer g_value_dup_boxed (GValue *value); +gpointer g_value_dup_boxed (const GValue *value); /* --- convenience --- */