summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColomban Wendling <[email protected]>2023-11-15 15:27:27 +0100
committerLuke from DC <[email protected]>2023-11-21 20:19:58 +0000
commit31f2b7e8f1f3efbd83715ed9acddb310edde4423 (patch)
treec6530fea560137c181a2f40ff905bac77092f408
parent83fae06e1e7e232c9006ccf4ef5e30b65ddc642f (diff)
downloadmate-panel-31f2b7e8f1f3efbd83715ed9acddb310edde4423.tar.bz2
mate-panel-31f2b7e8f1f3efbd83715ed9acddb310edde4423.tar.xz
Remove redundant shadowing variable
No need to get the default icon theme again anyway.
-rw-r--r--mate-panel/button-widget.c1
1 files changed, 0 insertions, 1 deletions
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",