diff options
author | Sebastien Bacher <seb128@debian.org> | 2005-04-09 15:13:17 +0000 |
---|---|---|
committer | Sebastien Bacher <seb128@debian.org> | 2005-04-09 15:13:17 +0000 |
commit | fd3ebe330337e4efa37d4b67e560ea5be6ae1289 (patch) | |
tree | 902e49c9bcbdebc2f40154e9cb1212dbc7e896ed /debian/patches | |
parent | Kill the /var tree in the package (diff) | |
download | zenity-fd3ebe330337e4efa37d4b67e560ea5be6ae1289.tar.gz zenity-fd3ebe330337e4efa37d4b67e560ea5be6ae1289.tar.bz2 zenity-fd3ebe330337e4efa37d4b67e560ea5be6ae1289.zip |
update to 2.10
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/window-valid.diff | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/debian/patches/window-valid.diff b/debian/patches/window-valid.diff deleted file mode 100644 index 574e6bea..00000000 --- a/debian/patches/window-valid.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- zenity-2.8.2.orig/src/util.c 2004-12-07 20:49:41.000000000 +0000 -+++ zenity-2.8.2/src/util.c 2004-12-21 10:37:52.000000000 +0000 -@@ -275,8 +275,16 @@ - if (wid_str) { - char *wid_str_end; - Window wid = strtoul (wid_str, &wid_str_end, 10); -- if (*wid_str != '\0' && *wid_str_end == '\0' && wid != 0) -+ if (*wid_str != '\0' && *wid_str_end == '\0' && wid != 0) { -+ XWindowAttributes attrs; -+ gdk_error_trap_push (); -+ XGetWindowAttributes (GDK_DISPLAY(), wid, &attrs); -+ gdk_flush(); -+ if (gdk_error_trap_pop () != 0) { -+ return None; -+ } - return wid; -+ } - } - return None; - } |