mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 22:30:22 +00:00
mir: clear screen objects correctly
This commit is contained in:
parent
0d024c2df8
commit
a77571c42e
@ -166,8 +166,8 @@ gdk_mir_screen_finalize (GObject *object)
|
|||||||
|
|
||||||
mir_connection_set_display_config_change_callback (get_connection (screen), NULL, NULL);
|
mir_connection_set_display_config_change_callback (get_connection (screen), NULL, NULL);
|
||||||
mir_display_config_destroy (screen->display_config);
|
mir_display_config_destroy (screen->display_config);
|
||||||
g_clear_pointer (&screen->visual);
|
g_clear_object (&screen->visual);
|
||||||
g_clear_pointer (&screen->root_window);
|
g_clear_object (&screen->root_window);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gdk_mir_screen_parent_class)->finalize (object);
|
G_OBJECT_CLASS (gdk_mir_screen_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user