You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

50 lines
1.8 KiB

  1. /*
  2. * Copyright (C) 2009-2010 Nick Schermer <nick@xfce.org>
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef __PANEL_XFCONF_H__
  19. #define __PANEL_XFCONF_H__
  20. #include <xfconf/xfconf.h>
  21. #define PANEL_PROPERTIES_TYPE_VALUE_ARRAY (panel_properties_value_array_get_type ())
  22. typedef struct _PanelProperty PanelProperty;
  23. struct _PanelProperty
  24. {
  25. const gchar *property;
  26. GType type;
  27. };
  28. XfconfChannel *panel_properties_get_channel (GObject *object_for_weak_ref);
  29. void panel_properties_bind (XfconfChannel *channel,
  30. GObject *object,
  31. const gchar *property_base,
  32. const PanelProperty *properties,
  33. gboolean save_properties);
  34. void panel_properties_unbind (GObject *object);
  35. GType panel_properties_value_array_get_type (void) G_GNUC_CONST;
  36. #endif /* !__PANEL_XFCONF_H__ */