gtk+ r19401 - in trunk: . gdk/quartz



Author: rhult
Date: Fri Jan 25 13:13:05 2008
New Revision: 19401
URL: http://svn.gnome.org/viewvc/gtk+?rev=19401&view=rev

Log:
2008-01-25  Richard Hult  <richard imendio com>

	* gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
	const and remove unused variables).


Modified:
   trunk/ChangeLog
   trunk/gdk/quartz/gdkwindow-quartz.c

Modified: trunk/gdk/quartz/gdkwindow-quartz.c
==============================================================================
--- trunk/gdk/quartz/gdkwindow-quartz.c	(original)
+++ trunk/gdk/quartz/gdkwindow-quartz.c	Fri Jan 25 13:13:05 2008
@@ -167,8 +167,8 @@
 }
 
 static void
-gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
-					   GdkRegion    *region)
+gdk_window_impl_quartz_begin_paint_region (GdkPaintable    *paintable,
+					   const GdkRegion *region)
 {
   GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
   GdkDrawableImplQuartz *drawable_impl;
@@ -353,10 +353,10 @@
 }
 
 static void
-gdk_window_impl_quartz_invalidate_maybe_recurse (GdkPaintable *paintable,
-						 GdkRegion    *region,
-						 gboolean    (*child_func) (GdkWindow *, gpointer),
-						 gpointer      user_data)
+gdk_window_impl_quartz_invalidate_maybe_recurse (GdkPaintable    *paintable,
+						 const GdkRegion *region,
+						 gboolean        (*child_func) (GdkWindow *, gpointer),
+						 gpointer         user_data)
 {
   GdkWindowImplQuartz *window_impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
   GdkDrawableImplQuartz *drawable_impl = (GdkDrawableImplQuartz *) window_impl;
@@ -1098,9 +1098,6 @@
 
   if (impl->toplevel) 
     {
-      NSRect content_rect;
-      NSRect frame_rect;
-
      /* Update main window. */
       main_window_stack = g_slist_remove (main_window_stack, window);
       if ([NSApp mainWindow] == impl->toplevel)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]