From d8a1b42f09b22dbc1e079130d6a821c45f713117 Mon Sep 17 00:00:00 2001 From: Dexter Reed Date: Sun, 18 Feb 2024 20:26:28 +0000 Subject: [PATCH] Update src/libvalent/ui/valent-window.c Co-authored-by: Andy Holmes <1265208+andyholmes@users.noreply.github.com> --- src/libvalent/ui/valent-window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libvalent/ui/valent-window.c b/src/libvalent/ui/valent-window.c index 1a61deba38..74dced74a7 100644 --- a/src/libvalent/ui/valent-window.c +++ b/src/libvalent/ui/valent-window.c @@ -367,9 +367,7 @@ preferences_action (GtkWidget *widget, GtkAllocation allocation; gtk_widget_get_allocation (widget, &allocation); - self->preferences = g_object_new (VALENT_TYPE_PREFERENCES_DIALOG, - NULL); - + self->preferences = g_object_new (VALENT_TYPE_PREFERENCES_DIALOG, NULL); g_object_add_weak_pointer (G_OBJECT (self->preferences), (gpointer)&self->preferences); }