Default NULL for buffer

2000-12-17  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/main.c (do_set_xml): Default
	NULL for buffer

	* capplets/new-background-properties/applier.c
	(is_nautilus_running): Return if there is no Nautilus window
	property
This commit is contained in:
Bradford Hovinen 2000-12-17 19:05:11 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 433b55d43a
commit 9d9e373a33
3 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,12 @@
2000-12-17 Bradford Hovinen <hovinen@helixcode.com>
* capplets/new-background-properties/main.c (do_set_xml): Default
NULL for buffer
* capplets/new-background-properties/applier.c
(is_nautilus_running): Return if there is no Nautilus window
property
2000-11-23 Stanislav Brabec <utx@penguin.cz>
* */*/*.desktop, */*/*.directory: Remove trailing dot in english

View file

@ -1158,6 +1158,8 @@ is_nautilus_running (void)
if (data != NULL) {
nautilus_xid = *(Window *) data;
XFree (data);
} else {
return FALSE;
}
if (actual_type != XA_WINDOW) return FALSE;

View file

@ -91,7 +91,7 @@ do_set_xml (void)
{
Preferences *prefs;
xmlDocPtr doc;
char *buffer;
char *buffer = NULL;
int len = 0;
while (!feof (stdin)) {