Fix for failure of gdk_pixbuf_xlib_get_from_drawable if source

drawable is root window.
This commit is contained in:
Bill Haneman 2002-07-01 16:21:51 +00:00
parent 0c9e03ce2e
commit b0f026aeca
16 changed files with 95 additions and 59 deletions

View File

@ -1,3 +1,9 @@
Mon Jul 01 17:19:00 2002 Bill Haneman <bill.haneman@sun.com>
* contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
(xlib_window_is_viewable):
Fixed failure of assertion when drawable is root window.
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c

View File

@ -1,3 +1,9 @@
Mon Jul 01 17:19:00 2002 Bill Haneman <bill.haneman@sun.com>
* contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
(xlib_window_is_viewable):
Fixed failure of assertion when drawable is root window.
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c

View File

@ -1,3 +1,9 @@
Mon Jul 01 17:19:00 2002 Bill Haneman <bill.haneman@sun.com>
* contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
(xlib_window_is_viewable):
Fixed failure of assertion when drawable is root window.
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c

View File

@ -1,3 +1,9 @@
Mon Jul 01 17:19:00 2002 Bill Haneman <bill.haneman@sun.com>
* contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
(xlib_window_is_viewable):
Fixed failure of assertion when drawable is root window.
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c

View File

@ -1,3 +1,9 @@
Mon Jul 01 17:19:00 2002 Bill Haneman <bill.haneman@sun.com>
* contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
(xlib_window_is_viewable):
Fixed failure of assertion when drawable is root window.
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c

View File

@ -1,3 +1,9 @@
Mon Jul 01 17:19:00 2002 Bill Haneman <bill.haneman@sun.com>
* contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
(xlib_window_is_viewable):
Fixed failure of assertion when drawable is root window.
Thu Jun 20 19:41:09 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c

View File

@ -1145,7 +1145,7 @@ xlib_window_is_viewable (Window w)
if (nchildren > 0)
XFree (children);
if (parent == root)
if ((parent == root) || (w == root))
return TRUE;
w = parent;

View File

@ -248,12 +248,12 @@ mouse cursor is.
</para>
<!-- ##### ARG GtkButton:default-outside-border ##### -->
<!-- ##### ARG GtkButton:default-border ##### -->
<para>
</para>
<!-- ##### ARG GtkButton:default-border ##### -->
<!-- ##### ARG GtkButton:default-outside-border ##### -->
<para>
</para>

View File

@ -66,13 +66,13 @@ Creates a new #GtkCheckButton with a #GtkLabel to the right of it.
@Returns:
<!-- ##### ARG GtkCheckButton:indicator-spacing ##### -->
<para>
</para>
<!-- ##### ARG GtkCheckButton:indicator-size ##### -->
<para>
</para>
<!-- ##### ARG GtkCheckButton:indicator-spacing ##### -->
<para>
</para>

View File

@ -298,7 +298,7 @@ was clicked.
</para>
<!-- ##### ARG GtkDialog:action-area-border ##### -->
<!-- ##### ARG GtkDialog:content-area-border ##### -->
<para>
</para>
@ -308,7 +308,7 @@ was clicked.
</para>
<!-- ##### ARG GtkDialog:content-area-border ##### -->
<!-- ##### ARG GtkDialog:action-area-border ##### -->
<para>
</para>

View File

@ -100,13 +100,13 @@ selected value for the option menu.
</para>
<!-- ##### ARG GtkOptionMenu:indicator-size ##### -->
<para>
</para>
<!-- ##### ARG GtkOptionMenu:indicator-spacing ##### -->
<para>
</para>
<!-- ##### ARG GtkOptionMenu:indicator-size ##### -->
<para>
</para>

View File

@ -153,11 +153,6 @@ Emitted when the range value changes.
</para>
<!-- ##### ARG GtkRange:trough-border ##### -->
<para>
</para>
<!-- ##### ARG GtkRange:stepper-spacing ##### -->
<para>
@ -168,6 +163,16 @@ Emitted when the range value changes.
</para>
<!-- ##### ARG GtkRange:trough-border ##### -->
<para>
</para>
<!-- ##### ARG GtkRange:slider-width ##### -->
<para>
</para>
<!-- ##### ARG GtkRange:arrow-displacement-y ##### -->
<para>
@ -178,8 +183,3 @@ Emitted when the range value changes.
</para>
<!-- ##### ARG GtkRange:slider-width ##### -->
<para>
</para>

View File

@ -54,17 +54,7 @@ The #GtkScrollbar struct does not contain any public data.
</para>
<!-- ##### ARG GtkScrollbar:min-slider-length ##### -->
<para>
</para>
<!-- ##### ARG GtkScrollbar:has-secondary-backward-stepper ##### -->
<para>
</para>
<!-- ##### ARG GtkScrollbar:has-secondary-forward-stepper ##### -->
<!-- ##### ARG GtkScrollbar:has-forward-stepper ##### -->
<para>
</para>
@ -79,7 +69,17 @@ The #GtkScrollbar struct does not contain any public data.
</para>
<!-- ##### ARG GtkScrollbar:has-forward-stepper ##### -->
<!-- ##### ARG GtkScrollbar:has-secondary-backward-stepper ##### -->
<para>
</para>
<!-- ##### ARG GtkScrollbar:min-slider-length ##### -->
<para>
</para>
<!-- ##### ARG GtkScrollbar:has-secondary-forward-stepper ##### -->
<para>
</para>

View File

@ -391,7 +391,7 @@ Should be used if you wish to perform an action when ever the style of a toolbar
</para>
<!-- ##### ARG GtkToolbar:space-size ##### -->
<!-- ##### ARG GtkToolbar:internal-padding ##### -->
<para>
</para>
@ -401,13 +401,13 @@ Should be used if you wish to perform an action when ever the style of a toolbar
</para>
<!-- ##### ARG GtkToolbar:space-size ##### -->
<para>
</para>
<!-- ##### ARG GtkToolbar:space-style ##### -->
<para>
</para>
<!-- ##### ARG GtkToolbar:internal-padding ##### -->
<para>
</para>

View File

@ -901,6 +901,11 @@ Function used for #gtk_tree_view_map_expanded_rows.
</para>
<!-- ##### ARG GtkTreeView:vertical-separator ##### -->
<para>
</para>
<!-- ##### ARG GtkTreeView:indent-expanders ##### -->
<para>
@ -916,11 +921,6 @@ Function used for #gtk_tree_view_map_expanded_rows.
</para>
<!-- ##### ARG GtkTreeView:vertical-separator ##### -->
<para>
</para>
<!-- ##### ARG GtkTreeView:allow-rules ##### -->
<para>

View File

@ -2192,6 +2192,16 @@ a widget changes from un-anchored to anchored or vice-versa.
</para>
<!-- ##### ARG GtkWidget:cursor-color ##### -->
<para>
</para>
<!-- ##### ARG GtkWidget:secondary-cursor-color ##### -->
<para>
</para>
<!-- ##### ARG GtkWidget:focus-line-width ##### -->
<para>
@ -2207,12 +2217,7 @@ a widget changes from un-anchored to anchored or vice-versa.
</para>
<!-- ##### ARG GtkWidget:cursor-color ##### -->
<para>
</para>
<!-- ##### ARG GtkWidget:secondary-cursor-color ##### -->
<!-- ##### ARG GtkWidget:focus-padding ##### -->
<para>
</para>
@ -2222,8 +2227,3 @@ a widget changes from un-anchored to anchored or vice-versa.
</para>
<!-- ##### ARG GtkWidget:focus-padding ##### -->
<para>
</para>