summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-10-22 18:24:29 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-10-22 18:24:29 +0000
commitdc754528a06824337c9c6276d62b11c77aa19654 (patch)
tree24d6dc83f173ead3b71cc1c2fa9bc1dc7d844691 /gdk
parenteb037279db30fc5fc6fddc7af7e0427384209b02 (diff)
downloadgtk+-dc754528a06824337c9c6276d62b11c77aa19654.tar.gz
Remove handle_box from App demo.
Mon Oct 22 14:08:26 2001 Jonathan Blandford <jrb@redhat.com> * demos/gtk-demo/appwindow.c: Remove handle_box from App demo. * gtk/gtktreeview.c (size_allocate): Move to a different drawing system. Instead of having a window the size of the tree, we have a window the size of widget->allocation, and simply draw with the offset. (coords_are_over_arrow): ditto. Move to window coordinates. (do_prelight): ditto (do_unprelight): ditto * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Minor fix from Kristian Rietveld to fix unsorted case.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkgeometry-x11.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/gdk/x11/gdkgeometry-x11.c b/gdk/x11/gdkgeometry-x11.c
index 28e10fc567..64fc00f03a 100644
--- a/gdk/x11/gdkgeometry-x11.c
+++ b/gdk/x11/gdkgeometry-x11.c
@@ -116,15 +116,14 @@ _gdk_window_init_position (GdkWindow *window)
* @dx: Amount to scroll in the X direction
* @dy: Amount to scroll in the Y direction
*
- * Scroll the contents of its window, both pixels and children, by
- * the given amount. Portions of the window that the scroll operation
- * brings in from offscreen areas are invalidated. The invalidated
- * region may be bigger than what would strictly be necessary.
- * (For X11, a minimum area will be invalidated if the window has
- * no subwindows, or if the edges of the window's parent do not extend
- * beyond the edges of the window. In other cases, a multi-step process
- * is used to scroll the window which may produce temporary visual
- * artifacts and unnecessary invalidations.)
+ * Scroll the contents of @window, both pixels and children, by the given
+ * amount. @window itself does not move. Portions of the window that the scroll
+ * operation brings in from offscreen areas are invalidated. The invalidated
+ * region may be bigger than what would strictly be necessary. (For X11, a
+ * minimum area will be invalidated if the window has no subwindows, or if the
+ * edges of the window's parent do not extend beyond the edges of the window. In
+ * other cases, a multi-step process is used to scroll the window which may
+ * produce temporary visual artifacts and unnecessary invalidations.)
**/
void
gdk_window_scroll (GdkWindow *window,