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:
parent
433b55d43a
commit
9d9e373a33
3 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -91,7 +91,7 @@ do_set_xml (void)
|
|||
{
|
||||
Preferences *prefs;
|
||||
xmlDocPtr doc;
|
||||
char *buffer;
|
||||
char *buffer = NULL;
|
||||
int len = 0;
|
||||
|
||||
while (!feof (stdin)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue