From: Tim Janik Date: Fri, 27 Oct 2000 05:32:48 +0000 (+0000) Subject: const fix X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=1e46cf8099b2d4575286d5a9272aa8f4be056a57;p=dana%2Fcg-glib.git const fix --- diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c index ac857bfd..e3406aa7 100644 --- a/gobject/gvaluetypes.c +++ b/gobject/gvaluetypes.c @@ -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); diff --git a/gobject/gvaluetypes.h b/gobject/gvaluetypes.h index 32ba50d5..9f0b143c 100644 --- a/gobject/gvaluetypes.h +++ b/gobject/gvaluetypes.h @@ -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);