diff options
author | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2015-08-03 17:29:00 +0100 |
---|---|---|
committer | Zeeshan Ali (Khattak) <zeeshanak@gnome.org> | 2015-08-03 17:29:28 +0100 |
commit | a0617d099abe581cd21d6bad407c8a67479083b9 (patch) | |
tree | 2171c7155c39dbbe41fb8a69b9f08dc372744600 | |
parent | 656217dca4fb250fe136f3dc833ce70694943d5e (diff) | |
download | geoclue-a0617d099abe581cd21d6bad407c8a67479083b9.tar.gz |
config: Return correct enum value
gclue_config_get_app_perm() is supposed to return GClueAppPerm enum, not
a boolean.
-rw-r--r-- | src/gclue-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gclue-config.c b/src/gclue-config.c index 2ef5f83..8b1605f 100644 --- a/src/gclue-config.c +++ b/src/gclue-config.c @@ -295,7 +295,7 @@ gclue_config_get_app_perm (GClueConfig *config, gsize i; guint64 uid; - g_return_val_if_fail (desktop_id != NULL, FALSE); + g_return_val_if_fail (desktop_id != NULL, GCLUE_APP_PERM_DISALLOWED); for (node = priv->app_configs; node != NULL; node = node->next) { if (strcmp (((AppConfig *) node->data)->id, desktop_id) == 0) { |