[grilo] grilo-test-ui: Fix slowness when remote GFileIcons are used
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] grilo-test-ui: Fix slowness when remote GFileIcons are used
- Date: Wed, 29 Jan 2014 08:18:54 +0000 (UTC)
commit f1e99181a4a745bda047eae9f659de328ad6df18
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jan 28 10:17:01 2014 +0100
grilo-test-ui: Fix slowness when remote GFileIcons are used
https://bugzilla.gnome.org/show_bug.cgi?id=723077
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]