diff options
author | Robert Brady <robert@suse.co.uk> | 2000-10-25 21:05:37 +0000 |
---|---|---|
committer | Robert Brady <rbrady@src.gnome.org> | 2000-10-25 21:05:37 +0000 |
commit | 7ae3922d2cdc89cba86694f7e46393a629b12b61 (patch) | |
tree | 2c70058d39763d43f229d5098f04e1e997f320f9 | |
parent | aa9f75179df280810eae115bc266e66e9c01e685 (diff) | |
download | gtk+-7ae3922d2cdc89cba86694f7e46393a629b12b61.tar.gz |
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).
--------------------------------------------------------------------
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 4 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 4 | ||||
-rw-r--r-- | gdk/x11/gdkproperty-x11.c | 9 |
8 files changed, 31 insertions, 6 deletions
@@ -1,5 +1,9 @@ 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 saving. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 59676a1437..e6f54639a5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,5 +1,9 @@ 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 saving. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 59676a1437..e6f54639a5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 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 saving. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 59676a1437..e6f54639a5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,9 @@ 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 saving. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 59676a1437..e6f54639a5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,9 @@ 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 saving. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 59676a1437..e6f54639a5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,9 @@ 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 saving. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 59676a1437..e6f54639a5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,9 @@ 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 saving. diff --git a/gdk/x11/gdkproperty-x11.c b/gdk/x11/gdkproperty-x11.c index 4ff07a2b33..3929729892 100644 --- a/gdk/x11/gdkproperty-x11.c +++ b/gdk/x11/gdkproperty-x11.c @@ -112,8 +112,7 @@ gdk_property_get (GdkWindow *window, gulong ret_length; guchar *ret_data; - g_return_val_if_fail (window != NULL, FALSE); - g_return_val_if_fail (GDK_IS_WINDOW (window), FALSE); + g_return_val_if_fail (!window || GDK_IS_WINDOW (window), FALSE); if (window) { @@ -201,8 +200,7 @@ gdk_property_change (GdkWindow *window, Display *xdisplay; Window xwindow; - g_return_if_fail (window != NULL); - g_return_if_fail (GDK_IS_WINDOW (window)); + g_return_if_fail (!window || GDK_IS_WINDOW (window)); if (window) { @@ -229,8 +227,7 @@ gdk_property_delete (GdkWindow *window, Display *xdisplay; Window xwindow; - g_return_if_fail (window != NULL); - g_return_if_fail (GDK_IS_WINDOW (window)); + g_return_if_fail (!window || GDK_IS_WINDOW (window)); if (window) { |