aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-07 14:43:51 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-07 14:43:51 -0400
commit2014454043a267327ea95bb5b3537e5561934c5c (patch)
tree775c6e988f9c85bf024bcd5426e25cb263619a3d /libindicator
parent1d4bcddfc33392da493c97fd75eda058e492579d (diff)
downloadlibayatana-indicator-2014454043a267327ea95bb5b3537e5561934c5c.tar.gz
libayatana-indicator-2014454043a267327ea95bb5b3537e5561934c5c.tar.bz2
libayatana-indicator-2014454043a267327ea95bb5b3537e5561934c5c.zip
indicator-ng: properly fail when keyfile doesn't exist
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libindicator/indicator-ng.c b/libindicator/indicator-ng.c
index 88db31c..3465254 100644
--- a/libindicator/indicator-ng.c
+++ b/libindicator/indicator-ng.c
@@ -496,7 +496,7 @@ indicator_ng_initable_init (GInitable *initable,
{
IndicatorNg *self = INDICATOR_NG (initable);
GKeyFile *keyfile;
- gboolean success;
+ gboolean success = FALSE;
self->bus_name = g_path_get_basename (self->service_file);