Remove some deprecated stuff from GdkWindow
Also, substitute the deprecated functions with the correct ones
This commit is contained in:
		| @ -475,16 +475,6 @@ GdkWindow*    gdk_window_lookup_for_display (GdkDisplay      *display, | ||||
|  | ||||
| /* GdkWindow */ | ||||
|  | ||||
| #ifndef GDK_DISABLE_DEPRECATED | ||||
| void	      gdk_window_set_hints	 (GdkWindow	  *window, | ||||
| 					  gint		   x, | ||||
| 					  gint		   y, | ||||
| 					  gint		   min_width, | ||||
| 					  gint		   min_height, | ||||
| 					  gint		   max_width, | ||||
| 					  gint		   max_height, | ||||
| 					  gint		   flags); | ||||
| #endif | ||||
| void              gdk_window_set_type_hint (GdkWindow        *window, | ||||
|                                             GdkWindowTypeHint hint); | ||||
| GdkWindowTypeHint gdk_window_get_type_hint (GdkWindow        *window); | ||||
| @ -699,19 +689,6 @@ void       gdk_window_redirect_to_drawable   (GdkWindow     *window, | ||||
|                                               gint           height); | ||||
| void       gdk_window_remove_redirection     (GdkWindow     *window); | ||||
|  | ||||
| #ifndef GDK_DISABLE_DEPRECATED | ||||
| #define GDK_ROOT_PARENT()             (gdk_get_default_root_window ()) | ||||
| #define gdk_window_get_size            gdk_drawable_get_size | ||||
| #define gdk_window_get_type            gdk_window_get_window_type | ||||
| #define gdk_window_get_colormap        gdk_drawable_get_colormap | ||||
| #define gdk_window_set_colormap        gdk_drawable_set_colormap | ||||
| #define gdk_window_get_visual          gdk_drawable_get_visual | ||||
| #define gdk_window_ref                 g_object_ref | ||||
| #define gdk_window_unref               g_object_unref | ||||
|  | ||||
| #define gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) \ | ||||
|    gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height) | ||||
| #endif /* GDK_DISABLE_DEPRECATED */ | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Javier Jardón
					Javier Jardón