API: remove begin/end_direct_draw functions
They're not needed without GdkGCs. FIXME: This breaks the win32 XP theme. Someone gotta fix it.
This commit is contained in:
		| @ -108,13 +108,6 @@ GdkPixbuf    *gdk_win32_icon_to_pixbuf_libgtk_only (HICON hicon); | ||||
| HICON         gdk_win32_pixbuf_to_hicon_libgtk_only (GdkPixbuf *pixbuf); | ||||
| void          gdk_win32_set_modal_dialog_libgtk_only (HWND window); | ||||
|  | ||||
| GdkDrawable  *gdk_win32_begin_direct_draw_libgtk_only (GdkDrawable *drawable, | ||||
| 						       GdkGC *gc, | ||||
| 						       gpointer *priv_data, | ||||
| 						       gint *x_offset_out, | ||||
| 						       gint *y_offset_out); | ||||
| void          gdk_win32_end_direct_draw_libgtk_only (gpointer priv_data); | ||||
|  | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
|  | ||||
| @ -3386,26 +3386,3 @@ gdk_win32_window_is_win32 (GdkWindow *window) | ||||
|   return GDK_WINDOW_IS_WIN32 (window); | ||||
| } | ||||
|  | ||||
| GdkDrawable * | ||||
| gdk_win32_begin_direct_draw_libgtk_only (GdkDrawable *drawable, | ||||
| 					 GdkGC *gc, | ||||
| 					 gpointer *priv_data, | ||||
| 					 gint *x_offset_out, | ||||
| 					 gint *y_offset_out) | ||||
| { | ||||
|   GdkDrawable *impl; | ||||
|  | ||||
|   impl = _gdk_drawable_begin_direct_draw (drawable, | ||||
| 					  gc, | ||||
| 					  priv_data, | ||||
| 					  x_offset_out, | ||||
| 					  y_offset_out); | ||||
|  | ||||
|   return impl; | ||||
| } | ||||
|  | ||||
| void | ||||
| gdk_win32_end_direct_draw_libgtk_only (gpointer priv_data) | ||||
| { | ||||
|   _gdk_drawable_end_direct_draw (priv_data); | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Benjamin Otte
					Benjamin Otte