summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-08-23 10:32:02 -0400
committerRyan Lortie <desrt@desrt.ca>2010-08-23 10:32:02 -0400
commit6b884f649e0dcde32bfb5497bbc8dced0c9a6b89 (patch)
tree69df1eec6f2c61e55efde4ec3ae9987df7cf6f02 /service
parenta26160448b1b53f919dcc7e19f084b7d0b65bf33 (diff)
downloaddconf-6b884f649e0dcde32bfb5497bbc8dced0c9a6b89.tar.gz
printf() and exit() instead of g_error()
Stops crash-detectors from seeing the SIGABRT
Diffstat (limited to 'service')
-rw-r--r--service/service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/service/service.c b/service/service.c
index c498b82..aca0029 100644
--- a/service/service.c
+++ b/service/service.c
@@ -21,6 +21,7 @@
#include <gio/gio.h>
#include <string.h>
+#include <stdlib.h>
#include <stdio.h>
#include "dconf-interfaces.h"
@@ -398,7 +399,8 @@ name_lost (GDBusConnection *connection,
const gchar *name,
gpointer user_data)
{
- g_error ("unable to acquire name: '%s'", name);
+ fprintf (stderr, "unable to acquire name: '%s'", name);
+ exit (1);
}
int