• Tor Lillqvist's avatar
    gdk/win32/gdkgc-win32.c Remove gcc -Wall warnings. · f49a2a00
    Tor Lillqvist authored
    2000-10-22  Tor Lillqvist  <tml@iki.fi>
    
    	* gdk/win32/gdkgc-win32.c
    	* gdk/win32/gdkimage-win32.c: Remove gcc -Wall warnings.
    
    	Patches by Hans Breuer:
    
    	* gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_glyphs): Call
    	SetBkMode() and SetTextAlign() before calling
    	pango_win32_render().
    
    	* gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values):
    	Set hcliprgn to NULL after destroying it.
    	(gdk_gc_set_clip_rectangle): Delete hcliprgn and set to NULL.
    
    	* gdk/win32/gdkgeometry-win32.c
    	(_gdk_windowing_window_queue_antiexpose): More effective
    	implementation.
    
    	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use drawable's
    	depth as default, not the visual's.
    
    	* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Guard
    	against empty title.
    
    	* gdk/win32/gdkprivate-win32.h: Define a helper macro,
    	IMAGE_PRIVATE_DATA.
    
    	* gdk/win32/gdkimage-win32.c (gdk_image_get_type): Use it.
    f49a2a00
gdkgc-win32.c 40.7 KB