Commit 5ac61d3e authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Include the build directory.

2000-07-25  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am: Include the build directory.

	* configure.in: Generate build/Makefile and build/win32/Makefile.

	* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.

	* gdk/gdk.def
	* gtk/gtk.def: Updates.

	* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
	PANGOWIN32_LIBS and gdk_pixbuf.

	* gdk/win32: Compiles, but no doubt doesn't work at all.

	* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.

	* gdk/win32/gdkinput.c: New file, temporarily.

	* gdk/win32/gdkinput-win32.h: New file

	* gdk/win32/gdkinputprivate.h: Remove.

	* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
	made externally visible.
parent 37e80986
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
2000-07-24 Elliot Lee <sopwith@redhat.com> 2000-07-24 Elliot Lee <sopwith@redhat.com>
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already. individual backends already.
...@@ -33,12 +60,13 @@ ...@@ -33,12 +60,13 @@
* gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkgc-win32.c * gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c * gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h * gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics: * gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers Rename fields and variables called xcursor, xid, etc (these names
from the X11 backend). were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc.
Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com>
......
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
2000-07-24 Elliot Lee <sopwith@redhat.com> 2000-07-24 Elliot Lee <sopwith@redhat.com>
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already. individual backends already.
...@@ -33,12 +60,13 @@ ...@@ -33,12 +60,13 @@
* gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkgc-win32.c * gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c * gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h * gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics: * gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers Rename fields and variables called xcursor, xid, etc (these names
from the X11 backend). were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc.
Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com>
......
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
2000-07-24 Elliot Lee <sopwith@redhat.com> 2000-07-24 Elliot Lee <sopwith@redhat.com>
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already. individual backends already.
...@@ -33,12 +60,13 @@ ...@@ -33,12 +60,13 @@
* gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkgc-win32.c * gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c * gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h * gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics: * gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers Rename fields and variables called xcursor, xid, etc (these names
from the X11 backend). were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc.
Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com>
......
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
2000-07-24 Elliot Lee <sopwith@redhat.com> 2000-07-24 Elliot Lee <sopwith@redhat.com>
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already. individual backends already.
...@@ -33,12 +60,13 @@ ...@@ -33,12 +60,13 @@
* gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkgc-win32.c * gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c * gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h * gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics: * gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers Rename fields and variables called xcursor, xid, etc (these names
from the X11 backend). were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc.
Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com>
......
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
2000-07-24 Elliot Lee <sopwith@redhat.com> 2000-07-24 Elliot Lee <sopwith@redhat.com>
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already. individual backends already.
...@@ -33,12 +60,13 @@ ...@@ -33,12 +60,13 @@
* gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkgc-win32.c * gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c * gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h * gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics: * gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers Rename fields and variables called xcursor, xid, etc (these names
from the X11 backend). were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc.
Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com>
......
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
2000-07-24 Elliot Lee <sopwith@redhat.com> 2000-07-24 Elliot Lee <sopwith@redhat.com>
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already. individual backends already.
...@@ -33,12 +60,13 @@ ...@@ -33,12 +60,13 @@
* gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkgc-win32.c * gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c * gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h * gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics: * gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers Rename fields and variables called xcursor, xid, etc (these names
from the X11 backend). were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc.
Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com>
......
2000-07-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Include the build directory.
* configure.in: Generate build/Makefile and build/win32/Makefile.
* config.h.win32: Add USE_GMODULE and USE_MMX for gdk-pixbuf.
* gdk/gdk.def
* gtk/gtk.def: Updates.
* gdk/makefile.mingw.in: Define GDK_COMPILATION. Link with
PANGOWIN32_LIBS and gdk_pixbuf.
* gdk/win32: Compiles, but no doubt doesn't work at all.
* gdk/win32/makefile.mingw.in: Define GDK_COMPILATION.
* gdk/win32/gdkinput.c: New file, temporarily.
* gdk/win32/gdkinput-win32.h: New file
* gdk/win32/gdkinputprivate.h: Remove.
* gtk/gtkrc.[ch] (gtk_win32_get_installation_directory): Renamed and
made externally visible.
2000-07-24 Elliot Lee <sopwith@redhat.com> 2000-07-24 Elliot Lee <sopwith@redhat.com>
* gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the
individual backends already. individual backends already.
...@@ -33,12 +60,13 @@ ...@@ -33,12 +60,13 @@
* gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkcursor-win32.c * gdk/win32/gdkcursor-win32.c
* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkgc-win32.c * gdk/win32/gdkgc-win32.c
* gdk/win32/gdkimage-win32.c * gdk/win32/gdkimage-win32.c
* gdk/win32/gdkprivate-win32.h * gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwin32.h: Update data structures. Cosmetics: * gdk/win32/gdkwin32.h: Update data structures. Cosmetics:
don't use fields and variables called xcursor, xid, etc (leftovers Rename fields and variables called xcursor, xid, etc (these names
from the X11 backend). were leftovers from the X11 backend) to hcursor, hwnd, hbitmap etc.
Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com>
......
## Makefile.am for GTK+ ## Makefile.am for GTK+
SRC_SUBDIRS = gdk-pixbuf gdk modules gtk demos SRC_SUBDIRS = gdk-pixbuf gdk modules gtk demos
SUBDIRS = po $(SRC_SUBDIRS) docs SUBDIRS = po $(SRC_SUBDIRS) docs build
bin_SCRIPTS = gtk-config-2.0 bin_SCRIPTS = gtk-config-2.0
......
...@@ -190,3 +190,8 @@ ...@@ -190,3 +190,8 @@
* (available in the Platform SDK) * (available in the Platform SDK)
*/ */
/* #define HAVE_DIMM_H 1 */ /* #define HAVE_DIMM_H 1 */
#define USE_GMODULE 1
#define USE_MMX 1
/* #undef HAVE_SIGSETJMP */
...@@ -993,6 +993,8 @@ docs/gtk-config.1 ...@@ -993,6 +993,8 @@ docs/gtk-config.1
Makefile Makefile
gtk-config-2.0 gtk-config-2.0
po/Makefile.in po/Makefile.in
build/Makefile
build/win32/Makefile
demos/Makefile demos/Makefile
docs/Makefile docs/Makefile
docs/reference/Makefile docs/reference/Makefile
......
...@@ -46,6 +46,11 @@ EXPORTS ...@@ -46,6 +46,11 @@ EXPORTS
gdk_cursor_new_from_pixmap gdk_cursor_new_from_pixmap
gdk_cursor_ref gdk_cursor_ref
gdk_cursor_unref gdk_cursor_unref
gdk_device_set_axis_use
gdk_device_set_key
gdk_device_set_mode
gdk_device_set_source
gdk_devices_list
gdk_dnd_init gdk_dnd_init
gdk_drag_abort gdk_drag_abort
gdk_drag_begin gdk_drag_begin
...@@ -70,13 +75,13 @@ EXPORTS ...@@ -70,13 +75,13 @@ EXPORTS
gdk_draw_polygon gdk_draw_polygon
gdk_draw_rectangle gdk_draw_rectangle
gdk_draw_rgb_32_image gdk_draw_rgb_32_image
gdk_draw_rgb_32_image_dithalign
gdk_draw_rgb_image gdk_draw_rgb_image
gdk_draw_rgb_image_dithalign gdk_draw_rgb_image_dithalign
gdk_draw_segments gdk_draw_segments
gdk_draw_string gdk_draw_string
gdk_draw_text gdk_draw_text
gdk_draw_text_wc gdk_draw_text_wc
gdk_drawable_alloc
gdk_drawable_get_colormap gdk_drawable_get_colormap
gdk_drawable_get_size gdk_drawable_get_size
gdk_drawable_get_type gdk_drawable_get_type
...@@ -124,7 +129,6 @@ EXPORTS ...@@ -124,7 +129,6 @@ EXPORTS
gdk_fontset_load gdk_fontset_load
gdk_free_compound_text gdk_free_compound_text
gdk_free_text_list gdk_free_text_list
gdk_gc_alloc
gdk_gc_copy gdk_gc_copy
gdk_gc_get_values gdk_gc_get_values
gdk_gc_new gdk_gc_new
...@@ -163,7 +167,6 @@ EXPORTS ...@@ -163,7 +167,6 @@ EXPORTS
gdk_im_end gdk_im_end
gdk_im_ready gdk_im_ready
gdk_im_set_best_style gdk_im_set_best_style
gdk_image_bitmap_new
gdk_image_get gdk_image_get
gdk_image_get_pixel gdk_image_get_pixel
gdk_image_new gdk_image_new
...@@ -177,15 +180,9 @@ EXPORTS ...@@ -177,15 +180,9 @@ EXPORTS
gdk_input_add_full gdk_input_add_full
gdk_input_exit gdk_input_exit
gdk_input_init gdk_input_init
gdk_input_list_devices
gdk_input_motion_events gdk_input_motion_events
gdk_input_remove gdk_input_remove
gdk_input_set_axes
gdk_input_set_extension_events gdk_input_set_extension_events
gdk_input_set_key
gdk_input_set_mode
gdk_input_set_source
gdk_input_window_get_pointer
gdk_key_repeat_disable gdk_key_repeat_disable
gdk_key_repeat_restore gdk_key_repeat_restore
gdk_keyboard_grab gdk_keyboard_grab
...@@ -205,7 +202,6 @@ EXPORTS ...@@ -205,7 +202,6 @@ EXPORTS
gdk_pixmap_create_from_data gdk_pixmap_create_from_data
gdk_pixmap_create_from_xpm gdk_pixmap_create_from_xpm
gdk_pixmap_create_from_xpm_d gdk_pixmap_create_from_xpm_d
gdk_pixmap_create_on_shared_image
gdk_pixmap_foreign_new gdk_pixmap_foreign_new
gdk_pixmap_new gdk_pixmap_new
gdk_pointer_grab gdk_pointer_grab
...@@ -236,10 +232,11 @@ EXPORTS ...@@ -236,10 +232,11 @@ EXPORTS
gdk_region_xor gdk_region_xor
gdk_rgb_cmap_free gdk_rgb_cmap_free
gdk_rgb_cmap_new gdk_rgb_cmap_new
gdk_rgb_colormap_ditherable
gdk_rgb_ditherable gdk_rgb_ditherable
gdk_rgb_gc_set_background gdk_rgb_gc_set_background
gdk_rgb_gc_set_foreground gdk_rgb_gc_set_foreground
gdk_rgb_get_cmap gdk_rgb_get_colormap
gdk_rgb_get_visual gdk_rgb_get_visual
gdk_rgb_init gdk_rgb_init
gdk_rgb_set_install gdk_rgb_set_install
...@@ -285,6 +282,7 @@ EXPORTS ...@@ -285,6 +282,7 @@ EXPORTS
gdk_visual_ref gdk_visual_ref
gdk_visual_unref gdk_visual_unref
gdk_wcstombs gdk_wcstombs
gdk_win32_handle_table_lookup
gdk_win32_hdc_get gdk_win32_hdc_get
gdk_win32_hdc_release gdk_win32_hdc_release
gdk_window_add_filter gdk_window_add_filter
...@@ -345,5 +343,3 @@ EXPORTS ...@@ -345,5 +343,3 @@ EXPORTS
gdk_window_shape_combine_mask gdk_window_shape_combine_mask
gdk_window_show gdk_window_show
gdk_window_withdraw gdk_window_withdraw
gdk_xid_table_insert
gdk_xid_table_lookup
...@@ -15,7 +15,7 @@ OPTIMIZE = -g ...@@ -15,7 +15,7 @@ OPTIMIZE = -g
INCLUDES = -I . -I .. -I ../gdk-pixbuf INCLUDES = -I . -I .. -I ../gdk-pixbuf
DEPCFLAGS = $(GLIB_CFLAGS) $(PANGO_CFLAGS) DEPCFLAGS = $(GLIB_CFLAGS) $(PANGO_CFLAGS)
DEFINES = -DG_ENABLE_DEBUG -DHAVE_CONFIG_H -DGDK_VERSION=\"$(GTK_VER)\" DEFINES = -DG_ENABLE_DEBUG -DHAVE_CONFIG_H -DGDK_VERSION=\"$(GTK_VER)\" -DGDK_COMPILATION
all: \ all: \
../config.h \ ../config.h \
...@@ -58,7 +58,7 @@ win32/gdk-win32res.o : FRC ...@@ -58,7 +58,7 @@ win32/gdk-win32res.o : FRC
cd win32 && $(MAKE) -f makefile.mingw gdk-win32res.o cd win32 && $(MAKE) -f makefile.mingw gdk-win32res.o
gdk-win32-$(GTK_VER).dll : $(gdk_OBJECTS) gdk.def win32/libgdk-win32.a win32/gdk-win32res.o win32/libwntab32x.a gdk-win32-$(GTK_VER).dll : $(gdk_OBJECTS) gdk.def win32/libgdk-win32.a win32/gdk-win32res.o win32/libwntab32x.a
$(GLIB)/build-dll gdk-win32 $(GTK_VER) gdk.def $(gdk_OBJECTS) win32/gdk-win32.a win32/wntab32x.a $(GLIB_LIBS) -lgdi32 -luser32 -limm32 -lshell32 -lole32 -luuid $(LDFLAGS) win32/gdk-win32res.o $(GLIB)/build-dll gdk-win32 $(GTK_VER) gdk.def $(gdk_OBJECTS) win32/libgdk-win32.a win32/libwntab32x.a -L ../gdk-pixbuf -lgdk_pixbuf-$(GTK_VER) $(GLIB_LIBS) $(PANGOWIN32_LIBS) -lgdi32 -luser32 -limm32 -lshell32 -lole32 -luuid $(LDFLAGS) win32/gdk-win32res.o
win32/libwntab32x.a : FRC win32/libwntab32x.a : FRC
cd win32 && $(MAKE) -f makefile.mingw libwntab32x.a cd win32 && $(MAKE) -f makefile.mingw libwntab32x.a
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include "gdkcolor.h" #include "gdkcolor.h"
#include "gdkprivate-win32.h" #include "gdkprivate-win32.h"
#define GDK_COLORMAP_PRIVATE_DATA(cmap) ((GdkColormapPrivateWin32 *) GDK_COLORMAP (cmap)->windowing_data)
static void free_colormap (Colormap colormap); static void free_colormap (Colormap colormap);
static gint gdk_colormap_match_color (GdkColormap *cmap, static gint gdk_colormap_match_color (GdkColormap *cmap,
......
...@@ -1113,7 +1113,7 @@ gdk_drag_find_window (GdkDragContext *context, ...@@ -1113,7 +1113,7 @@ gdk_drag_find_window (GdkDragContext *context,
POINT pt; POINT pt;
GDK_NOTE (DND, g_print ("gdk_drag_find_window: %#x +%d+%d\n", GDK_NOTE (DND, g_print ("gdk_drag_find_window: %#x +%d+%d\n",
(drag_window ? GDK_DRAWABLE_XID (drag_window) : 0), (drag_window ? GDK_WINDOW_HWND (drag_window) : 0),
x_root, y_root)); x_root, y_root));
pt.x = x_root; pt.x = x_root;
...@@ -1123,7 +1123,7 @@ gdk_drag_find_window (GdkDragContext *context, ...@@ -1123,7 +1123,7 @@ gdk_drag_find_window (GdkDragContext *context,
*dest_window = NULL; *dest_window = NULL;
else else
{ {
*dest_window = gdk_window_lookup (recipient); *dest_window = gdk_win32_handle_table_lookup (recipient);
if (*dest_window) if (*dest_window)
gdk_drawable_ref (*dest_window); gdk_drawable_ref (*dest_window);
*protocol = GDK_DRAG_PROTO_WIN32_DROPFILES; *protocol = GDK_DRAG_PROTO_WIN32_DROPFILES;
...@@ -1225,7 +1225,7 @@ gdk_window_register_dnd (GdkWindow *window) ...@@ -1225,7 +1225,7 @@ gdk_window_register_dnd (GdkWindow *window)
g_return_if_fail (window != NULL); g_return_if_fail (window != NULL);
GDK_NOTE (DND, g_print ("gdk_window_register_dnd: %#x\n", GDK_NOTE (DND, g_print ("gdk_window_register_dnd: %#x\n",
GDK_DRAWABLE_XID (window))); GDK_WINDOW_HWND (window)));
/* We always claim to accept dropped files, but in fact we might not, /* We always claim to accept dropped files, but in fact we might not,
* of course. This function is called in such a way that it cannot know * of course. This function is called in such a way that it cannot know
...@@ -1244,7 +1244,7 @@ gdk_window_register_dnd (GdkWindow *window) ...@@ -1244,7 +1244,7 @@ gdk_window_register_dnd (GdkWindow *window)
OTHER_API_FAILED ("CoLockObjectExternal"); OTHER_API_FAILED ("CoLockObjectExternal");
else else
{ {
hres = RegisterDragDrop (GDK_DRAWABLE_XID (window), &ctx->idt); hres = RegisterDragDrop (GDK_WINDOW_HWND (window), &ctx->idt);
if (hres == DRAGDROP_E_ALREADYREGISTERED) if (hres == DRAGDROP_E_ALREADYREGISTERED)
{ {
g_print ("DRAGDROP_E_ALREADYREGISTERED\n"); g_print ("DRAGDROP_E_ALREADYREGISTERED\n");
......
...@@ -229,7 +229,7 @@ gdk_win32_draw_rectangle (GdkDrawable *drawable, ...@@ -229,7 +229,7 @@ gdk_win32_draw_rectangle (GdkDrawable *drawable,
(filled ? "fill " : ""), (filled ? "fill " : ""),
width, height, x, y)); width, height, x, y));
hdc = gdk_gc_predraw (drawable, gc_private, mask); hdc = gdk_win32_hdc_get (drawable, gc, mask);
#if 0 #if 0
{ {
...@@ -307,7 +307,7 @@ gdk_win32_draw_rectangle (GdkDrawable *drawable, ...@@ -307,7 +307,7 @@ gdk_win32_draw_rectangle (GdkDrawable *drawable,
SelectObject (hdc, oldbrush); SelectObject (hdc, oldbrush);
} }
gdk_gc_postdraw (drawable, gc_private, mask); gdk_win32_hdc_release (drawable, gc, mask);
} }
static void static void
...@@ -336,7 +336,7 @@ gdk_win32_draw_arc (GdkDrawable *drawable, ...@@ -336,7 +336,7 @@ gdk_win32_draw_arc (GdkDrawable *drawable,
if (width <= 2 || height <= 2 || angle2 == 0) if (width <= 2 || height <= 2 || angle2 == 0)
return; return;
hdc = gdk_gc_predraw (drawable, gc_private, mask); hdc = gdk_win32_hdc_get (drawable, gc, mask);
if (angle2 >= 360*64) if (angle2 >= 360*64)
{ {
...@@ -380,7 +380,7 @@ gdk_win32_draw_arc (GdkDrawable *drawable, ...@@ -380,7 +380,7 @@ gdk_win32_draw_arc (GdkDrawable *drawable,
nXStartArc, nYStartArc, nXEndArc, nYEndArc)) nXStartArc, nYStartArc, nXEndArc, nYEndArc))
WIN32_GDI_FAILED ("Arc"); WIN32_GDI_FAILED ("Arc");
} }
gdk_gc_postdraw (drawable, gc_private, mask); gdk_win32_hdc_release (drawable, gc, mask);
} }
static void static void
...@@ -405,7 +405,7 @@ gdk_win32_draw_polygon (GdkDrawable *drawable, ...@@ -405,7 +405,7 @@ gdk_win32_draw_polygon (GdkDrawable *drawable,
if (npoints < 2) if (npoints < 2)
return; return;
hdc = gdk_gc_predraw (drawable, gc_private, mask); hdc = gdk_win32_hdc_get (drawable, gc, mask);
pts = g_new (POINT, npoints+1); pts = g_new (POINT, npoints+1);
for (i = 0; i < npoints; i++) for (i = 0; i < npoints; i++)
...@@ -467,7 +467,7 @@ gdk_win32_draw_polygon (GdkDrawable *drawable, ...@@ -467,7 +467,7 @@ gdk_win32_draw_polygon (GdkDrawable *drawable,
} }
} }
g_free (pts); g_free (pts);
gdk_gc_postdraw (drawable, gc_private, mask); gdk_win32_hdc_release (drawable, gc, mask);
} }
typedef struct typedef struct
...@@ -525,7 +525,7 @@ gdk_win32_draw_text (GdkDrawable *drawable, ...@@ -525,7 +525,7 @@ gdk_win32_draw_text (GdkDrawable *drawable,
arg.x = x; arg.x = x;
arg.y = y; arg.y = y;
arg.hdc = gdk_gc_predraw (drawable, gc_private, mask); arg.hdc = gdk_win32_hdc_get (drawable, gc, mask);
GDK_NOTE (MISC, g_print ("gdk_draw_text: %#x (%d,%d) \"%.*s\" (len %d)\n", GDK_NOTE (MISC, g_print ("gdk_draw_text: %#x (%d,%d) \"%.*s\" (len %d)\n",
GDK_DRAWABLE_HANDLE (drawable), GDK_DRAWABLE_HANDLE (drawable),
...@@ -550,7 +550,7 @@ gdk_win32_draw_text (GdkDrawable *drawable, ...@@ -550,7 +550,7 @@ gdk_win32_draw_text (GdkDrawable *drawable,
} }
gdk_gc_postdraw (drawable, gc_private, mask); gdk_win32_hdc_release (drawable, gc, mask);
} }
static void