summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-01-26 23:28:00 +0100
committerJavier <dev.git@javispedro.com>2015-01-26 23:28:00 +0100
commite651920ecdfd7e91afe75be1463aaf8efb474f4c (patch)
tree19176cd195a3d147657da85759e8212580f653f1
parent480017947277a80e3cee6181340303932d8d9832 (diff)
downloadmdock-e651920ecdfd7e91afe75be1463aaf8efb474f4c.tar.gz
mdock-e651920ecdfd7e91afe75be1463aaf8efb474f4c.zip
fix crash
-rw-r--r--libmdock/app-id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmdock/app-id.c b/libmdock/app-id.c
index 6ea456a..076eb98 100644
--- a/libmdock/app-id.c
+++ b/libmdock/app-id.c
@@ -63,7 +63,7 @@ guint app_id_hash(gconstpointer appid_pointer)
gboolean app_id_equal(gconstpointer ap, gconstpointer bp)
{
const AppId *a = ap, *b = bp;
- return strcmp(a->host, b->host) == 0 &&
+ return g_strcmp0(a->host, b->host) == 0 &&
a->uid == b->uid &&
g_strcmp0(a->executable, b->executable) == 0 &&
g_strcmp0(a->wm_class_class, b->wm_class_class) == 0 &&