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
This commit is contained in:

committed by
Richard Hult

parent
72bc7eb44b
commit
41e1be54e8
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2008-01-25 Michael Natterer <mitch@imendio.com>
|
||||||
|
|
||||||
* gtk/gtkbutton.h
|
* gtk/gtkbutton.h
|
||||||
|
@ -167,8 +167,8 @@ gdk_window_impl_quartz_init (GdkWindowImplQuartz *impl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
|
gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
|
||||||
GdkRegion *region)
|
const GdkRegion *region)
|
||||||
{
|
{
|
||||||
GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
|
GdkWindowImplQuartz *impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
|
||||||
GdkDrawableImplQuartz *drawable_impl;
|
GdkDrawableImplQuartz *drawable_impl;
|
||||||
@ -353,10 +353,10 @@ gdk_window_quartz_update_idle (gpointer data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gdk_window_impl_quartz_invalidate_maybe_recurse (GdkPaintable *paintable,
|
gdk_window_impl_quartz_invalidate_maybe_recurse (GdkPaintable *paintable,
|
||||||
GdkRegion *region,
|
const GdkRegion *region,
|
||||||
gboolean (*child_func) (GdkWindow *, gpointer),
|
gboolean (*child_func) (GdkWindow *, gpointer),
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
GdkWindowImplQuartz *window_impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
|
GdkWindowImplQuartz *window_impl = GDK_WINDOW_IMPL_QUARTZ (paintable);
|
||||||
GdkDrawableImplQuartz *drawable_impl = (GdkDrawableImplQuartz *) window_impl;
|
GdkDrawableImplQuartz *drawable_impl = (GdkDrawableImplQuartz *) window_impl;
|
||||||
@ -1098,9 +1098,6 @@ gdk_window_hide (GdkWindow *window)
|
|||||||
|
|
||||||
if (impl->toplevel)
|
if (impl->toplevel)
|
||||||
{
|
{
|
||||||
NSRect content_rect;
|
|
||||||
NSRect frame_rect;
|
|
||||||
|
|
||||||
/* Update main window. */
|
/* Update main window. */
|
||||||
main_window_stack = g_slist_remove (main_window_stack, window);
|
main_window_stack = g_slist_remove (main_window_stack, window);
|
||||||
if ([NSApp mainWindow] == impl->toplevel)
|
if ([NSApp mainWindow] == impl->toplevel)
|
||||||
|
Reference in New Issue
Block a user