gtk-renderer: Simplify

This commit is contained in:
Guido Günther
2019-07-11 11:32:46 +02:00
parent e350b4ab92
commit 0fc4374193

View File

@ -57,10 +57,9 @@ eek_gtk_renderer_real_get_icon_surface (EekRenderer *self,
gint size)
{
GdkPixbuf *pixbuf;
GError *error;
GError *error = NULL;
cairo_surface_t *surface;
error = NULL;
pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (),
icon_name,
size,