[Xfce4-commits] [apps/xfdashboard] 01/01: Use _xfdashboard_applications_search_provider_statistics_get() to get statistics data for an application instead of doing a lookup by ourselve
noreply at xfce.org
noreply at xfce.org
Fri Jan 22 13:44:29 CET 2016
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to branch master
in repository apps/xfdashboard.
commit 3d583b44fc4ea6b91803c946efab0ede9b64f1d3
Author: Stephan Haller <nomad at froevel.de>
Date: Fri Jan 22 13:43:58 2016 +0100
Use _xfdashboard_applications_search_provider_statistics_get() to get statistics data for an application instead of doing a lookup by ourselve
---
xfdashboard/applications-search-provider.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xfdashboard/applications-search-provider.c b/xfdashboard/applications-search-provider.c
index 6baa010..c57257b 100644
--- a/xfdashboard/applications-search-provider.c
+++ b/xfdashboard/applications-search-provider.c
@@ -243,7 +243,7 @@ static gboolean _xfdashboard_applications_search_provider_save_statistics(GError
appID=(const gchar*)iter->data;
/* Get statistics data (it must exist because we got a list of all keys) */
- stats=g_hash_table_lookup(_xfdashboard_applications_search_provider_statistics, appID);
+ stats=_xfdashboard_applications_search_provider_statistics_get(appID);
g_assert(stats!=NULL);
/* Store application desktop ID in "entries" overview group and increase counter */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list