Add XML cflags/libs

2000-08-23  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/wm-properties/Makefile.am (INCLUDES):
	(wm_properties_capplet_LDADD): Add XML cflags/libs

	* capplets/wm-properties/wm-properties-capplet.c (do_get_xml):
	(do_set_xml): Implement
	(main): Call do_{get|set}_xml() on --get and --set

	* capplets/wm-properties/wm-list.c (wm_read_from_xml):
	(wm_list_read_from_xml):
	(wm_write_to_xml):
	(wm_list_write_to_xml): Implement
This commit is contained in:
Bradford Hovinen 2000-08-23 14:29:23 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 379d3e137b
commit f4f9184388
5 changed files with 170 additions and 5 deletions

View file

@ -1,12 +1,15 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/* Copyright (C) 1998 Redhat Software Inc.
* Code available under the Gnu GPL.
* Authors: Owen Taylor <otaylor@redhat.com>
* Authors: Owen Taylor <otaylor@redhat.com>,
* Bradford Hovinen <hovinen@helixcode.com>
*/
#include <gdk/gdk.h>
#include <libgnome/libgnome.h>
#include <tree.h>
typedef struct _WindowManager WindowManager;
struct _WindowManager {
@ -36,6 +39,9 @@ void wm_list_set_current (WindowManager *window_manager);
WindowManager *wm_list_get_current (void);
WindowManager *wm_list_get_revert (void);
void wm_list_read_from_xml (xmlDocPtr doc);
xmlDocPtr wm_list_write_to_xml (void);
extern GList *window_managers;
/* Management of current window manager */