Commit 41e1be54 authored by Richard Hult's avatar Richard Hult Committed by Richard Hult

Fix compile warnings (add missing const and remove unused variables).

2008-01-25  Richard Hult  <richard@imendio.com>

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

svn path=/trunk/; revision=19401
parent 72bc7eb4
2008-01-25 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
const and remove unused variables).
2008-01-25 Michael Natterer <mitch@imendio.com>
* gtk/gtkbutton.h
......
......@@ -167,8 +167,8 @@ gdk_window_impl_quartz_init (GdkWindowImplQuartz *impl)
}
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 @@ gdk_window_quartz_update_idle (gpointer data)
}
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 @@ gdk_window_hide (GdkWindow *window)
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)
......
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