Commit cf354215 authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld

adapt to use GdkWindowImpl interface.

2008-06-27  Kristian Rietveld  <kris@imendio.com>

	* gdk/quartz/gdkgeometry-quartz.c:
	* gdk/quartz/gdkwindow-quartz.c:
	* gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
	interface.


svn path=/trunk/; revision=20697
parent b3bb8c47
2008-06-27 Kristian Rietveld <kris@imendio.com>
* gdk/quartz/gdkgeometry-quartz.c:
* gdk/quartz/gdkwindow-quartz.c:
* gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
interface.
2008-06-27 Carlos Garnacho <carlos@imendio.com> 2008-06-27 Carlos Garnacho <carlos@imendio.com>
* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
......
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
#include "gdkprivate-quartz.h" #include "gdkprivate-quartz.h"
void void
gdk_window_scroll (GdkWindow *window, _gdk_quartz_window_scroll (GdkWindow *window,
gint dx, gint dx,
gint dy) gint dy)
{ {
NSRect visible_nsrect; NSRect visible_nsrect;
GdkRectangle visible_rect, scrolled_rect; GdkRectangle visible_rect, scrolled_rect;
...@@ -36,8 +36,6 @@ gdk_window_scroll (GdkWindow *window, ...@@ -36,8 +36,6 @@ gdk_window_scroll (GdkWindow *window,
GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (private->impl); GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (private->impl);
GList *list; GList *list;
g_return_if_fail (GDK_IS_WINDOW (window));
/* Move the current invalid region */ /* Move the current invalid region */
if (private->update_area) if (private->update_area)
gdk_region_offset (private->update_area, dx, dy); gdk_region_offset (private->update_area, dx, dy);
...@@ -83,10 +81,10 @@ gdk_window_scroll (GdkWindow *window, ...@@ -83,10 +81,10 @@ gdk_window_scroll (GdkWindow *window,
} }
void void
gdk_window_move_region (GdkWindow *window, _gdk_quartz_window_move_region (GdkWindow *window,
const GdkRegion *region, const GdkRegion *region,
gint dx, gint dx,
gint dy) gint dy)
{ {
/* FIXME: Implement */ /* FIXME: Implement */
} }
...@@ -187,4 +187,13 @@ gboolean _gdk_quartz_keys_is_modifier (guint keycode); ...@@ -187,4 +187,13 @@ gboolean _gdk_quartz_keys_is_modifier (guint keycode);
/* Drawable */ /* Drawable */
void _gdk_quartz_drawable_finish (GdkDrawable *drawable); void _gdk_quartz_drawable_finish (GdkDrawable *drawable);
/* Geometry */
void _gdk_quartz_window_scroll (GdkWindow *window,
gint dx,
gint dy);
void _gdk_quartz_window_move_region (GdkWindow *window,
const GdkRegion *region,
gint dx,
gint dy);
#endif /* __GDK_PRIVATE_QUARTZ_H__ */ #endif /* __GDK_PRIVATE_QUARTZ_H__ */
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment