From 1f8da0cc75e4786f8f152df0e947efaa146d6c23 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Sun, 7 Jan 2024 17:26:26 -0500 Subject: wayland background dialog: fix build warning --- src/file-manager/fm-desktop-wayland-bg-dialog.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/file-manager/fm-desktop-wayland-bg-dialog.c b/src/file-manager/fm-desktop-wayland-bg-dialog.c index 02d7211c..30c935f4 100644 --- a/src/file-manager/fm-desktop-wayland-bg-dialog.c +++ b/src/file-manager/fm-desktop-wayland-bg-dialog.c @@ -132,8 +132,6 @@ update_preview() static void update_primary_color(GtkWidget *colorbutton1) { - GdkRGBA color1; - filename = ""; gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (colorbutton1), &color1); primary_color_str = gdk_rgba_to_string (&color1); @@ -148,8 +146,6 @@ update_primary_color(GtkWidget *colorbutton1) static void update_secondary_color(GtkWidget *colorbutton2) { - GdkRGBA color2; - filename = ""; gtk_color_chooser_get_rgba (GTK_COLOR_CHOOSER (colorbutton2), &color2); secondary_color_str = gdk_rgba_to_string (&color2); -- cgit v1.2.1