summaryrefslogtreecommitdiff
path: root/libmdock
diff options
context:
space:
mode:
Diffstat (limited to 'libmdock')
-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 &&