diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-01-28 10:17:01 +0100 |
---|---|---|
committer | Juan A. Suarez Romero <jasuarez@igalia.com> | 2014-01-29 08:18:30 +0000 |
commit | f1e99181a4a745bda047eae9f659de328ad6df18 (patch) | |
tree | 0f4f2de00082c6b7d98f49d6ff7019238e4e9297 /tools | |
parent | cd1d69cdd02c1f8e8aee7eb2199e86365e6b2a1f (diff) |
grilo-test-ui: Fix slowness when remote GFileIcons are used
https://bugzilla.gnome.org/show_bug.cgi?id=723077
Diffstat (limited to 'tools')
-rw-r--r-- | tools/grilo-test-ui/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c index e06f7db..d1c650a 100644 --- a/tools/grilo-test-ui/main.c +++ b/tools/grilo-test-ui/main.c @@ -1985,13 +1985,8 @@ show_browsable_sources () GIcon *icon; source = GRL_SOURCE (sources_iter->data); - icon = grl_source_get_icon (source); - if (icon != NULL) { - g_object_ref (icon); - } else { - icon = g_themed_icon_new ("folder"); - } + icon = g_themed_icon_new ("folder"); name = grl_source_get_name (source); GRL_DEBUG ("Loaded source: '%s'", name); gtk_list_store_append (GTK_LIST_STORE (view->browser_model), &iter); |