diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-02 14:28:22 +0200 |
---|---|---|
committer | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-06-02 14:28:24 +0200 |
commit | 6fefbbf8ab47b87fc4cb4a70f82c7bcc0b91587b (patch) | |
tree | 9ac0985db9ab0557368ed29538e8950be3dd3db0 /source/dialogs | |
parent | dc1417ba724309955dd8d12bf38eaeccc106129d (diff) |
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>
Diffstat (limited to 'source/dialogs')
-rw-r--r-- | source/dialogs/drun.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/dialogs/drun.c b/source/dialogs/drun.c index 51aba5e1..b4834c4f 100644 --- a/source/dialogs/drun.c +++ b/source/dialogs/drun.c @@ -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 ) |