[gnome-shell] app-system: Fix const warning



commit a5619bc0a3f67fc52c98d4fbc8368193338881bd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Nov 3 12:50:21 2013 -0500

    app-system: Fix const warning

 src/shell-app-system.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app-system.c b/src/shell-app-system.c
index 56636ff..cc9f8bd 100644
--- a/src/shell-app-system.c
+++ b/src/shell-app-system.c
@@ -141,7 +141,7 @@ shell_app_system_lookup_app (ShellAppSystem   *self,
     return NULL;
 
   app = _shell_app_new (info);
-  g_hash_table_insert (priv->id_to_app, shell_app_get_id (id), app);
+  g_hash_table_insert (priv->id_to_app, (char *) shell_app_get_id (id), app);
   return app;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]