gnome-control-center r8718 - trunk/capplets/common
- From: thos svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-control-center r8718 - trunk/capplets/common
- Date: Sun, 18 May 2008 21:33:07 +0000 (UTC)
Author: thos
Date: Sun May 18 21:33:07 2008
New Revision: 8718
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=8718&view=rev
Log:
2008-05-18 Thomas Wood <thos gnome org>
* gconf-property-editor.c: (gconf_property_editor_class_init),
(gconf_property_editor_get_prop): Allow the data property to be
read as well as written.
Modified:
trunk/capplets/common/ChangeLog
trunk/capplets/common/gconf-property-editor.c
Modified: trunk/capplets/common/gconf-property-editor.c
==============================================================================
--- trunk/capplets/common/gconf-property-editor.c (original)
+++ trunk/capplets/common/gconf-property-editor.c Sun May 18 21:33:07 2008
@@ -179,7 +179,7 @@
g_param_spec_pointer ("data",
_("Property editor object data"),
_("Custom data required by the specific property editor"),
- G_PARAM_WRITABLE));
+ G_PARAM_READWRITE));
g_object_class_install_property
(object_class, PROP_DATA_FREE_CB,
@@ -276,6 +276,9 @@
g_value_set_pointer (value, peditor->p->changeset);
break;
+ case PROP_DATA:
+ g_value_set_pointer (value, peditor->p->data);
+ break;
default:
g_warning ("Bad argument get");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]