gtk3/gdk
Havoc Pennington 86b5c82a97 Re-enable the "find" dialog
2000-10-23  Havoc Pennington  <hp@redhat.com>

        * gtk/testtext.c: Re-enable the "find" dialog

	* gtk/testgtk.c: Add test for gdk_drawable_get_image

	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix bug where
	the arguments to gdk_draw_drawable were in the wrong order
	(gdk_window_paint_init_bg): This function was ignoring the
	init_region, instead of clipping to it, so the entire backing
	pixmap was cleared on every begin_paint()
	(gdk_window_begin_paint_region): Hmm, the same list-walking bug
	was in here again, the loop kept using the same GtkWindowPaint
	over and over.
	(gdk_window_begin_paint_region): Fix a bug where we had two
	x_offset instead of x_offset and y_offset

	* gdk/gdkdraw.c (gdk_drawable_get_image): get composite drawable
	before we get the image.
	(gdk_draw_drawable): get the composite before we draw the drawable.
	(gdk_drawable_real_get_composite_drawable): default
	get_composite_drawable implementation that returns the drawable
	itself

	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Add
	get_composite_drawable virtual function

	* gdk/gdkwindow.c (gdk_window_begin_paint_region): Fix a cheesy
	list-walking bug

	* gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_drawable): Add a hack to
	make this work if the source drawable is a GdkDrawableImplX11
	instead of a public drawable type. This is really broken; the
	problem is that GdkDrawable needs a virtual method get_xid(), but
	of course that doesn't work in practice. Enter RTTI.

	Also, improve mismatched depth message.

	* gdk/gdkpixmap.c (gdk_pixmap_get_image): Implement get_image for
	GdkPixmap

	* gdk/x11/gdkdrawable-x11.c (gdk_drawable_impl_x11_class_init):
	install _gdk_x11_get_image as our implementation of get_image

	* gdk/x11/gdkimage-x11.c (gdk_image_get): Rename to
	_gdk_x11_get_image and export for use in gdkdrawable-x11.c

	* gdk/gdkimage.c (gdk_image_get): Make this just a wrapper around
	gdk_drawable_get_image

	* gdk/gdkdraw.c (gdk_drawable_get_image): call virtual get_image

	* gdk/gdkdrawable.h (struct _GdkDrawableClass ): Virtualize
	get_image

	* gtk/gtktreestore.c (gtk_tree_store_get_node): remove weird
	trailing semicolon after for loop
2000-10-24 00:15:14 +00:00
..
linux-fb Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
nanox applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
win32 gdk/win32/gdkgc-win32.c Remove gcc -Wall warnings. 2000-10-22 17:16:42 +00:00
x11 Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
.cvsignore Remove conftest* after use along the lines of AC_TRY_COMPILE. 2000-09-05 14:07:55 +00:00
COPYING [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
gdk.c #ifdef G_ENABLE_DEBUG around gdk_arg_debug_cb and gdk_arg_no_debug_cb to 2000-07-31 10:16:45 +00:00
gdk.def Guard definition of alloca(). glib.h now handles that. 2000-10-03 21:00:49 +00:00
gdk.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkcc.h Started 1999-10-01 23:18:30 +00:00
gdkcolor.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkcolor.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkcompat.h Add gdk_rgb_find_color() to get a pixel value using GdkRGB functionality 2000-07-02 17:03:21 +00:00
gdkconfig.h.win32 Fix typo. 1999-11-21 21:21:58 +00:00
gdkcursor.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkcursor.h s/refcount/ref_count/. 2000-02-13 08:16:48 +00:00
gdkcursors.h Merge from themes-2. See the ChangeLog for a somewhat detailed 1998-11-06 22:05:02 +00:00
gdkdnd.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkdraw.c Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkdrawable.h Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkevents.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkevents.h Ignore calls with <= width or height. 2000-07-03 19:00:23 +00:00
gdkfont.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkfont.h Generate gtk/makefile.mingw. 2000-07-25 20:38:35 +00:00
gdkgc.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkgc.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkglobals.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdki18n.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkim.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdkimage.c Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkimage.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkinput.h Generate gtk/makefile.mingw. 2000-07-25 20:38:35 +00:00
gdkinternals.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkkeysyms.h Remove all references to offscreen flag which was no longer used. 2000-06-02 03:14:07 +00:00
gdkkeyuni.c Doc comment fixing. (Mostly non-matching parameter names.) 2000-09-07 18:07:59 +00:00
gdkpango.c Fix the second bug, draw underlines. 2000-08-03 20:43:47 +00:00
gdkpango.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkpixbuf-drawable.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkpixbuf-render.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkpixbuf.h contrib subdir 2000-10-09 17:22:20 +00:00
gdkpixmap.c Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkpixmap.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkpoly-generic.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkpolyreg-generic.c Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkprivate.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkproperty.h Remove g_convert (moved to glib) and now useless utf_to_latin1() 2000-09-14 16:41:20 +00:00
gdkrectangle.c Applied patch from Peter Osterlund to simplify the code while keeping the 2000-08-03 13:18:01 +00:00
gdkregion-generic.c Fix compiler warnings 2000-08-09 02:56:13 +00:00
gdkregion-generic.h (Part 2) Remove gdk_*_lookup() defines, since they are defined by the 2000-07-24 16:19:00 +00:00
gdkregion.h Merge no-flicker branch into HEAD 2000-03-28 01:24:44 +00:00
gdkrgb.c Don't leave dangling ->prev fields when merging lists. (Found 2000-08-18 21:32:48 +00:00
gdkrgb.h Use G_GNUC_CONST. 2000-08-30 00:33:38 +00:00
gdkselection.h Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
gdktypes.h Doc comment fixing. (Mostly non-matching parameter names.) 2000-09-07 18:07:59 +00:00
gdkvisual.h Started 1999-10-01 23:18:30 +00:00
gdkwindow.c Re-enable the "find" dialog 2000-10-24 00:15:14 +00:00
gdkwindow.h Move list pointer forwards before removing item from list. (Crash reported 2000-10-04 19:53:53 +00:00
Makefile.am Move list pointer forwards before removing item from list. (Crash reported 2000-10-04 19:53:53 +00:00
makefile.mingw.in Guard definition of alloca(). glib.h now handles that. 2000-10-03 21:00:49 +00:00
makefile.msc Update. 2000-10-09 19:49:42 +00:00
testgdk.c Update. 2000-10-09 19:49:42 +00:00
TODO Move all X specific code into the x11/ directory. Aside from shuffling 1999-11-08 20:14:59 +00:00