/* * Copyright (C) 2009-2010 Nick Schermer * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef __PANEL_XFCONF_H__ #define __PANEL_XFCONF_H__ #include #define PANEL_PROPERTIES_TYPE_VALUE_ARRAY (panel_properties_value_array_get_type ()) typedef struct _PanelProperty PanelProperty; struct _PanelProperty { const gchar *property; GType type; }; XfconfChannel *panel_properties_get_channel (GObject *object_for_weak_ref); void panel_properties_bind (XfconfChannel *channel, GObject *object, const gchar *property_base, const PanelProperty *properties, gboolean save_properties); void panel_properties_unbind (GObject *object); GType panel_properties_value_array_get_type (void) G_GNUC_CONST; #endif /* !__PANEL_XFCONF_H__ */