From 31f2b7e8f1f3efbd83715ed9acddb310edde4423 Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Wed, 15 Nov 2023 15:27:27 +0100 Subject: Remove redundant shadowing variable No need to get the default icon theme again anyway. --- mate-panel/button-widget.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mate-panel/button-widget.c b/mate-panel/button-widget.c index 282de70e..00753b99 100644 --- a/mate-panel/button-widget.c +++ b/mate-panel/button-widget.c @@ -210,7 +210,6 @@ button_widget_reload_surface (ButtonWidget *button) * FIXME: this is not rendered at button->priv->size */ button->priv->needs_move = FALSE; - GtkIconTheme *icon_theme = gtk_icon_theme_get_default (); button->priv->surface = gtk_icon_theme_load_surface (icon_theme, "image-missing", -- cgit v1.2.1