From 1e46cf8099b2d4575286d5a9272aa8f4be056a57 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Fri, 27 Oct 2000 05:32:48 +0000 Subject: [PATCH] const fix --- gobject/gvaluetypes.c | 2 +- gobject/gvaluetypes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gobject/gvaluetypes.c b/gobject/gvaluetypes.c index ac857bf..e3406aa 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 32ba50d..9f0b143 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); -- 2.7.4