Reflecting the changes operated for the data types, some methods that use those type have had the call signature modified.
GConfNotifyFunc In C, the function passed to Gnome2::GConf::notify_add must have the following signature:
void (GConfNotifyFunc *) (GConfClient * client, guint cnxn_id, GConfEntry * entry);
Where GConfEntry is a container for the key/value pair. Since in perl theres no GConfEntry (see above), the entry parameter is an hashref.
GConfClient::get GConfClient::set In C, these accessor methods return/use a GConfValue. In perl, they return/use an hashref. See Gnome2::GConf::Value GConfClient::get_list GConfClient::set_list These accessor methods use a string for setting the type of the lists (lists may have values of only <B>oneB> type), and an arrayref containing the values. GConfClient::get_pair GConfClient::set_pair These accessor methods use two hashref (representing GConfValues) for the car and the cdr parameters. GConfClient::get_schema GConfClient::set_schema Similarly to the get/set pair above, these two methods return/use an hashref. See Gnome2::GConf::Schema. GConfClient::commit_change_set In C, this method return a boolean value (TRUE on success, FALSE on failure). On user request (using the boolean parameter remove_committed), it also returns the GConfChangeSet, pruned of the successfully committed keys. In perl, this method returns a boolean value both in scalar context or if the user sets to FALSE the remove_committed parameter; in array context or if the user requests the uncommitted keys, returns both the return value and the pruned GConfChangeSet.
Emmanuele Bassi <firstname.lastname@example.org>
gtk2-perl created by the gtk2-perl team: http://gtk2-perl.sf.net
Copyright 2003-2006 by Emmanuele Bassi
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
|perl v5.20.3||GCONF (3)||2007-09-29|