1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-04-07 17:33:14 -04:00

drun: Keep the icon name around

We don’t need to use it as the “we’ve search already” value since we
know just look icons up in a single pass.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
Quentin Glidic 2017-06-02 14:28:22 +02:00
parent dc1417ba72
commit 6fefbbf8ab
No known key found for this signature in database
GPG key ID: AC203F96E2C34BB7

View file

@ -449,9 +449,6 @@ static gpointer drun_icon_fetch ( gpointer data )
}
else {
g_log ( G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Icon type not yet supported: %s", icon_path );
char *r = dr->icon_name;
dr->icon_name = NULL;
g_free ( r );
}
g_free ( icon_path );
// if ( (i%100) == 99 )