From 9bdb9ac8b6a2716d82a4f05b1692e19dfff6c347 Mon Sep 17 00:00:00 2001 From: Thomas Thurman Date: Fri, 10 Jul 2009 08:04:19 -0400 Subject: debugging warning if there's no role (like for say xlogo) --- src/core/matching.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/matching.c b/src/core/matching.c index d781cad3..8b72f6e8 100644 --- a/src/core/matching.c +++ b/src/core/matching.c @@ -56,7 +56,10 @@ meta_matching_save_to_role (MetaWindow *window) gchar *role = window->role; if (!role) - return; + { + g_warning ("No role: aborting\n"); + return; + } load_matching_data (); -- cgit v1.2.1