forked from AuroraMiddleware/gtk
Fix for failure of gdk_pixbuf_xlib_get_from_drawable if source
drawable is root window.
This commit is contained in:
parent
0c9e03ce2e
commit
b0f026aeca
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user