display: Fix compile warnings using g_clear_pointer
This commit is contained in:
parent
9fa1e73da8
commit
04b0b68be4
2 changed files with 5 additions and 5 deletions
|
@ -272,7 +272,7 @@ cc_display_panel_dispose (GObject *object)
|
|||
g_clear_object (&self->shell_cancellable);
|
||||
g_clear_object (&self->shell_proxy);
|
||||
|
||||
g_clear_pointer (&self->night_light_dialog, gtk_widget_destroy);
|
||||
g_clear_pointer ((GtkWidget **) &self->night_light_dialog, gtk_widget_destroy);
|
||||
|
||||
G_OBJECT_CLASS (cc_display_panel_parent_class)->dispose (object);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue