summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Thurman <tthurman@gnome.org>2009-07-10 08:04:19 -0400
committerThomas Thurman <tthurman@gnome.org>2009-07-10 08:04:19 -0400
commit9bdb9ac8b6a2716d82a4f05b1692e19dfff6c347 (patch)
tree0cb5866958f2004d0bf7629499b3a579ac5eb8c0
parent13576cb982557c1fe286322cb88376dad81b258a (diff)
downloadmetacity-9bdb9ac8b6a2716d82a4f05b1692e19dfff6c347.tar.gz
debugging warning if there's no role (like for say xlogo)
-rw-r--r--src/core/matching.c5
1 files changed, 4 insertions, 1 deletions
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 ();