Skip to content

Commit

Permalink
Update src/libvalent/ui/valent-window.c
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Holmes <[email protected]>
  • Loading branch information
sungsphinx and andyholmes authored Feb 19, 2024
1 parent d8a1b42 commit fa536f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/libvalent/ui/valent-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,6 @@ preferences_action (GtkWidget *widget,

if (self->preferences == NULL)
{
GtkAllocation allocation;

gtk_widget_get_allocation (widget, &allocation);
self->preferences = g_object_new (VALENT_TYPE_PREFERENCES_DIALOG, NULL);
g_object_add_weak_pointer (G_OBJECT (self->preferences),
(gpointer)&self->preferences);
Expand Down

0 comments on commit fa536f8

Please sign in to comment.