forked from AuroraMiddleware/gtk
mir: Resolve warnings
This commit is contained in:
parent
a43efc6655
commit
e6b3bae787
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user