diff options
author | Ted Gould <ted@gould.cx> | 2013-08-26 08:14:14 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2013-08-26 08:14:14 -0500 |
commit | ee90f3a3b1b81df0803d6cf87cd6a17d710909bd (patch) | |
tree | 3bec02ece3b0743c8edf535620f4f30dab8182d5 | |
parent | 04b1c4bfc264603e668c2d262f5b55271d94e16b (diff) | |
download | ayatana-indicator-messages-ee90f3a3b1b81df0803d6cf87cd6a17d710909bd.tar.gz ayatana-indicator-messages-ee90f3a3b1b81df0803d6cf87cd6a17d710909bd.tar.bz2 ayatana-indicator-messages-ee90f3a3b1b81df0803d6cf87cd6a17d710909bd.zip |
Protect against action loss
-rw-r--r-- | src/im-application-list.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/im-application-list.c b/src/im-application-list.c index d69609d..8034bd3 100644 --- a/src/im-application-list.c +++ b/src/im-application-list.c @@ -223,6 +223,8 @@ app_source_action_check_draw (Application * app, const gchar * action_name) GVariant * draw; state = g_action_group_get_action_state (G_ACTION_GROUP(app->source_actions), action_name); + if (state == NULL) + return FALSE; /* uxsb */ draw = g_variant_get_child_value(state, 3); |