Gdk/Gtk Win32 patch
- From: Hans Breuer <hans breuer org>
- To: gtk-devel-list gnome org
- Cc: tml iki fi
- Subject: Gdk/Gtk Win32 patch
- Date: Mon, 01 May 2000 19:22:08 +0200
Due to recent changes in Gdk (Thu Feb 24 18:11:46 2000 Owen Taylor)
the Win32 part in CVS was slightly broken.
This patch addresses the following issues:
make it compile again:
* adding some headers and define new required functions like
_gdk_windowing_window_queue_antiexpose, rename some other
like gdk_window_clear_area -> _gdk_windowing_window_clear_area
* extend and change region specific functions, as required by
Owen's changes. BTW: these are incompatible changes, which
break some existing code (e.g. Dia). Shouldn't this comment go
into Changes-1.4.txt?
* do appropriate makefile changes (MSVC only)
make it run again (mostly):
* added GDK_NOTEs here and there to better understand why and where
the crashes occure. This was especially usefull because the
Win32 port does not run as MSVC5 Debug Built since a while - possibly
due to mysterious race conditions while creating windows.
* finally testgtk was working again - except GtkLayout - but all
menues are drawn in black, IHMO because of wrong paint order
related to backing store (Just another race condition?)
* by temporary diabling the backing store facility
(#ifdef USE_BACKING_STORE) testgtk and gimp seem to work as
expected
Unresolved Issues and some Questions:
--------------------------------------
On Linux and Win32:
- testrgb's final stripes aren't visible (on Linux and Win32),
because they are flushed with black.
Is this a feature - or a bug ?
- I wasn't able to find enough documentation to understand
what _gdk_windowing_window_get_offsets is expected to do.
Could someone give me an explanation, or even better put
it into the sources?
- Is there general design documentation (e.g.: Signal Handling,
Backing Store) available and/or list of known possible race
conditions, which could help to resolve the remaining
issues?
Because of it's size (8K) the patch is not attached,
but available at:
http://Hans.Breuer.org/gtk+dev-2000-05-01-hb.zip
Thanks in advance,
Hans
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]