const fix

This commit is contained in:
Tim Janik 2000-10-27 05:32:48 +00:00
parent 1e23d8a9bc
commit 1e46cf8099
2 changed files with 2 additions and 2 deletions

View File

@ -686,7 +686,7 @@ g_value_set_pointer (GValue *value,
}
gpointer
g_value_get_pointer (GValue *value)
g_value_get_pointer (const GValue *value)
{
g_return_val_if_fail (G_IS_VALUE_POINTER (value), NULL);

View File

@ -80,7 +80,7 @@ gchar* g_value_get_string (const GValue *value);
gchar* g_value_dup_string (const GValue *value);
void g_value_set_pointer (GValue *value,
gpointer v_pointer);
gpointer g_value_get_pointer (GValue *value);
gpointer g_value_get_pointer (const GValue *value);