If window == NULL, assume the root window. (restoring the behaviour that

2000-10-25  Robert Brady  <robert@suse.co.uk>

	* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
	gdk_property_delete): If window == NULL, assume the root window.
	(restoring the behaviour that was in 1.2).
--------------------------------------------------------------------
This commit is contained in:
Robert Brady 2000-10-25 21:05:37 +00:00 committed by Robert Brady
parent aa9f75179d
commit 7ae3922d2c
8 changed files with 31 additions and 6 deletions

View File

@ -1,5 +1,9 @@
2000-10-25 Robert Brady <robert@suse.co.uk> 2000-10-25 Robert Brady <robert@suse.co.uk>
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
* gtk/testtext.c (save_buffer): Allow creation of new files when * gtk/testtext.c (save_buffer): Allow creation of new files when
saving. saving.

View File

@ -1,5 +1,9 @@
2000-10-25 Robert Brady <robert@suse.co.uk> 2000-10-25 Robert Brady <robert@suse.co.uk>
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
* gtk/testtext.c (save_buffer): Allow creation of new files when * gtk/testtext.c (save_buffer): Allow creation of new files when
saving. saving.

View File

@ -1,5 +1,9 @@
2000-10-25 Robert Brady <robert@suse.co.uk> 2000-10-25 Robert Brady <robert@suse.co.uk>
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
* gtk/testtext.c (save_buffer): Allow creation of new files when * gtk/testtext.c (save_buffer): Allow creation of new files when
saving. saving.

View File

@ -1,5 +1,9 @@
2000-10-25 Robert Brady <robert@suse.co.uk> 2000-10-25 Robert Brady <robert@suse.co.uk>
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
* gtk/testtext.c (save_buffer): Allow creation of new files when * gtk/testtext.c (save_buffer): Allow creation of new files when
saving. saving.

View File

@ -1,5 +1,9 @@
2000-10-25 Robert Brady <robert@suse.co.uk> 2000-10-25 Robert Brady <robert@suse.co.uk>
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
* gtk/testtext.c (save_buffer): Allow creation of new files when * gtk/testtext.c (save_buffer): Allow creation of new files when
saving. saving.

View File

@ -1,5 +1,9 @@
2000-10-25 Robert Brady <robert@suse.co.uk> 2000-10-25 Robert Brady <robert@suse.co.uk>
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
* gtk/testtext.c (save_buffer): Allow creation of new files when * gtk/testtext.c (save_buffer): Allow creation of new files when
saving. saving.

View File

@ -1,5 +1,9 @@
2000-10-25 Robert Brady <robert@suse.co.uk> 2000-10-25 Robert Brady <robert@suse.co.uk>
* gdk/x11/gdkproperty-x11.c (gdk_property_get, gdk_property_change,
gdk_property_delete): If window == NULL, assume the root window.
(restoring the behaviour that was in 1.2).
* gtk/testtext.c (save_buffer): Allow creation of new files when * gtk/testtext.c (save_buffer): Allow creation of new files when
saving. saving.

View File

@ -112,8 +112,7 @@ gdk_property_get (GdkWindow *window,
gulong ret_length; gulong ret_length;
guchar *ret_data; guchar *ret_data;
g_return_val_if_fail (window != NULL, FALSE); g_return_val_if_fail (!window || GDK_IS_WINDOW (window), FALSE);
g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE);
if (window) if (window)
{ {
@ -201,8 +200,7 @@ gdk_property_change (GdkWindow *window,
Display *xdisplay; Display *xdisplay;
Window xwindow; Window xwindow;
g_return_if_fail (window != NULL); g_return_if_fail (!window || GDK_IS_WINDOW (window));
g_return_if_fail (GDK_IS_WINDOW (window));
if (window) if (window)
{ {
@ -229,8 +227,7 @@ gdk_property_delete (GdkWindow *window,
Display *xdisplay; Display *xdisplay;
Window xwindow; Window xwindow;
g_return_if_fail (window != NULL); g_return_if_fail (!window || GDK_IS_WINDOW (window));
g_return_if_fail (GDK_IS_WINDOW (window));
if (window) if (window)
{ {