From e6b3bae7871df3d5b03dae0e36e4748c41971d1b Mon Sep 17 00:00:00 2001 From: William Hua Date: Wed, 20 May 2015 10:38:16 -0500 Subject: [PATCH] mir: Resolve warnings --- gdk/mir/gdkmirwindowimpl.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/gdk/mir/gdkmirwindowimpl.c b/gdk/mir/gdkmirwindowimpl.c index c556d1fe18..30d15806ec 100644 --- a/gdk/mir/gdkmirwindowimpl.c +++ b/gdk/mir/gdkmirwindowimpl.c @@ -276,17 +276,6 @@ ensure_no_surface (GdkWindow *window) g_clear_pointer(&impl->surface, mir_surface_release_sync); } -static void -redraw_transient (GdkWindow *window) -{ - GdkRectangle r; - r.x = window->x; - r.y = window->y; - r.width = window->width; - r.height = window->height; - gdk_window_invalidate_rect (GDK_MIR_WINDOW_IMPL (window->impl)->transient_for, &r, FALSE); -} - static void send_buffer (GdkWindow *window) { @@ -362,7 +351,6 @@ static void gdk_mir_window_impl_finalize (GObject *object) { GdkMirWindowImpl *impl = GDK_MIR_WINDOW_IMPL (object); - GList *link; if (impl->background) cairo_pattern_destroy (impl->background);