mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
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