[gtk+] quartz: internalize _gdk_quartz_window_set_needs_display_in_region
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] quartz: internalize _gdk_quartz_window_set_needs_display_in_region
- Date: Thu, 23 Dec 2010 13:27:46 +0000 (UTC)
commit 374f8e22aaf0cb50e43c8a9a41916cae68fa3e0a
Author: Kristian Rietveld <kris gtk org>
Date: Thu Dec 23 14:13:35 2010 +0100
quartz: internalize _gdk_quartz_window_set_needs_display_in_region
gdk/quartz/gdkprivate-quartz.h | 3 ---
gdk/quartz/gdkwindow-quartz.c | 14 +++++++-------
2 files changed, 7 insertions(+), 10 deletions(-)
---
diff --git a/gdk/quartz/gdkprivate-quartz.h b/gdk/quartz/gdkprivate-quartz.h
index 7427198..44f186a 100644
--- a/gdk/quartz/gdkprivate-quartz.h
+++ b/gdk/quartz/gdkprivate-quartz.h
@@ -248,9 +248,6 @@ void _gdk_quartz_window_did_resign_main (GdkWindow *window);
void _gdk_quartz_window_debug_highlight (GdkWindow *window,
gint number);
-void _gdk_quartz_window_set_needs_display_in_region (GdkWindow *window,
- cairo_region_t *region);
-
void _gdk_quartz_window_update_position (GdkWindow *window);
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 6e0b8a2..a6fc4ed 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -433,9 +433,9 @@ gdk_window_impl_quartz_end_paint (GdkPaintable *paintable)
}
}
-void
-_gdk_quartz_window_set_needs_display_in_region (GdkWindow *window,
- cairo_region_t *region)
+static void
+gdk_quartz_window_set_needs_display_in_region (GdkWindow *window,
+ cairo_region_t *region)
{
GdkWindowImplQuartz *impl;
int i, n_rects;
@@ -490,7 +490,7 @@ _gdk_quartz_window_process_updates_recurse (GdkWindow *window,
}
if (WINDOW_IS_TOPLEVEL (window))
- _gdk_quartz_window_set_needs_display_in_region (window, region);
+ gdk_quartz_window_set_needs_display_in_region (window, region);
else
_gdk_window_process_updates_recurse (window, region);
@@ -1387,7 +1387,7 @@ move_resize_window_internal (GdkWindow *window,
[impl->view setFrame:nsrect];
- _gdk_quartz_window_set_needs_display_in_region (window, expose_region);
+ gdk_quartz_window_set_needs_display_in_region (window, expose_region);
}
else
{
@@ -2254,7 +2254,7 @@ gdk_quartz_window_translate (GdkWindow *window,
cairo_region_intersect (intersection, area);
cairo_region_translate (intersection, dx, dy);
- _gdk_quartz_window_set_needs_display_in_region (window, intersection);
+ gdk_quartz_window_set_needs_display_in_region (window, intersection);
cairo_region_destroy (intersection);
}
@@ -2266,7 +2266,7 @@ gdk_quartz_window_translate (GdkWindow *window,
cairo_region_subtract (invalidate, scrolled);
cairo_region_destroy (scrolled);
- _gdk_quartz_window_set_needs_display_in_region (window, invalidate);
+ gdk_quartz_window_set_needs_display_in_region (window, invalidate);
cairo_region_destroy (invalidate);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]