question about gobject.c (in GLib 2.9.2)
- From: Benoit Carpentier <gtkool_2kx yahoo fr>
- To: gtk-devel-list gnome org
- Subject: question about gobject.c (in GLib 2.9.2)
- Date: Fri, 6 Jan 2006 13:10:07 +0100 (CET)
Hi everybody,
in GLib 2.9.2, in gobject.c,
lines 499 to 525 :
static void
g_object_do_set_property (GObject *object,
guint property_id,
const GValue *value,
GParamSpec *pspec)
{
switch (property_id)
{
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object,
property_id, pspec);
break;
}
}
static void
g_object_do_get_property (GObject *object,
guint property_id,
GValue *value,
GParamSpec *pspec)
{
switch (property_id)
{
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object,
property_id, pspec);
break;
}
}
is there here a clear difference between these two
function ?
(g_object_do_set_property has const GValue argument
whereas g_object_do_set_property GValue argument is
not cont).
Regards,
Benoît Carpentier, "GTKool"
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]