13200
|
1 |
diff -urN xagent.orig/gnome-session/Makefile.am xagent.new/gnome-session/Makefile.am
|
13232
|
2 |
--- xagent.orig/gnome-session/Makefile.am 2008-08-21 01:16:57.425205000 +0100
|
|
3 |
+++ xagent.new/gnome-session/Makefile.am 2008-08-21 01:18:07.891217000 +0100
|
13200
|
4 |
@@ -1,6 +1,6 @@
|
|
5 |
NULL =
|
|
6 |
|
12871
|
7 |
-bin_PROGRAMS = gnome-session
|
|
8 |
+bin_PROGRAMS = tsoljds-xagent
|
|
9 |
|
|
10 |
noinst_LTLIBRARIES = libgsmutil.la
|
|
11 |
|
13232
|
12 |
@@ -42,7 +42,7 @@
|
13200
|
13 |
$(DBUS_GLIB_LIBS) \
|
|
14 |
$(NULL)
|
12871
|
15 |
|
|
16 |
-gnome_session_LDADD = \
|
|
17 |
+tsoljds_xagent_LDADD = \
|
|
18 |
-lSM -lICE -lsecdb \
|
|
19 |
libgsmutil.la \
|
|
20 |
$(top_builddir)/egg/libeggdesktopfile.la \
|
13232
|
21 |
@@ -52,7 +52,7 @@
|
13200
|
22 |
$(POLKIT_GNOME_LIBS) \
|
|
23 |
$(XRENDER_LIBS)
|
9397
|
24 |
|
12871
|
25 |
-gnome_session_SOURCES = \
|
|
26 |
+tsoljds_xagent_SOURCES = \
|
13200
|
27 |
gsm-app.h \
|
|
28 |
gsm-app.c \
|
|
29 |
gsm-autostart-app.h \
|
13232
|
30 |
@@ -83,7 +83,7 @@
|
|
31 |
gdm-signal-handler.c \
|
|
32 |
gdm-log.h \
|
|
33 |
gdm-log.c \
|
12871
|
34 |
- main.c \
|
|
35 |
+ xagent.c \
|
13200
|
36 |
gsm-store.h \
|
|
37 |
gsm-store.c \
|
|
38 |
gsm-inhibitor.h \
|
13232
|
39 |
@@ -92,8 +92,6 @@
|
13200
|
40 |
gsm-manager.h \
|
|
41 |
gsm-xsmp-server.c \
|
|
42 |
gsm-xsmp-server.h \
|
12871
|
43 |
- trusted.h \
|
|
44 |
- trusted.c \
|
13200
|
45 |
$(NULL)
|
|
46 |
|
|
47 |
libgsmutil_la_LIBADD = \
|
|
48 |
diff -urN xagent.orig/gnome-session/gsm-manager.c xagent.new/gnome-session/gsm-manager.c
|
13232
|
49 |
--- xagent.orig/gnome-session/gsm-manager.c 2008-08-21 01:16:57.433516000 +0100
|
|
50 |
+++ xagent.new/gnome-session/gsm-manager.c 2008-08-21 01:19:27.799167000 +0100
|
|
51 |
@@ -1105,9 +1105,6 @@
|
|
52 |
debug_app_summary (manager);
|
13200
|
53 |
start_phase (manager);
|
|
54 |
|
|
55 |
- gconf_client = gconf_client_get_default ();
|
|
56 |
- show_about = gconf_client_get_bool (gconf_client, ABOUT_PROMPT_KEY, NULL);
|
|
57 |
- if (!show_about) gtk_timeout_add (4000, show_gnome_about, NULL);
|
|
58 |
}
|
|
59 |
|
|
60 |
static gboolean
|
13232
|
61 |
@@ -2757,6 +2754,27 @@
|
|
62 |
return TRUE;
|
12871
|
63 |
}
|
9397
|
64 |
|
12871
|
65 |
+static gboolean
|
13200
|
66 |
+app_is_in_xagent_blacklist (GsmApp *app)
|
12871
|
67 |
+{
|
13200
|
68 |
+ char **iter;
|
|
69 |
+ char *xagent_blacklist[] = {"metacity", "gnome-panel", "tsoljdsselmgr",
|
|
70 |
+ "tsoljds-tstripe", "gnome-session-splash",
|
|
71 |
+ "gnome-settings-deamon",
|
|
72 |
+ "gnome-power-manager",
|
|
73 |
+ "at-spi-registryd-wrapper",
|
|
74 |
+ "gnome-login-sound", "ospm-applet", NULL};
|
12871
|
75 |
+
|
13200
|
76 |
+ for (iter = xagent_blacklist; *iter != NULL; iter++) {
|
|
77 |
+ if (strncmp (*iter, gsm_app_peek_app_id (app), strlen (*iter))
|
|
78 |
+ == 0){
|
|
79 |
+ return TRUE;
|
|
80 |
+ }
|
|
81 |
+ }
|
12871
|
82 |
+
|
13200
|
83 |
+ return FALSE;
|
12871
|
84 |
+}
|
9397
|
85 |
+
|
12871
|
86 |
static void
|
13200
|
87 |
append_app (GsmManager *manager,
|
|
88 |
GsmApp *app)
|
13232
|
89 |
@@ -2789,7 +2807,8 @@
|
13200
|
90 |
return;
|
|
91 |
}
|
|
92 |
|
|
93 |
- gsm_store_add (manager->priv->apps, id, G_OBJECT (app));
|
|
94 |
+ if (!app_is_in_xagent_blacklist (app))
|
|
95 |
+ gsm_store_add (manager->priv->apps, id, G_OBJECT (app));
|
|
96 |
}
|
12871
|
97 |
|
13232
|
98 |
gboolean
|
13200
|
99 |
diff -urN xagent.orig/gnome-session/xagent.c xagent.new/gnome-session/xagent.c
|
12871
|
100 |
--- xagent.orig/gnome-session/xagent.c 1970-01-01 01:00:00.000000000 +0100
|
13232
|
101 |
+++ xagent.new/gnome-session/xagent.c 2008-08-21 01:17:51.188939000 +0100
|
13200
|
102 |
@@ -0,0 +1,371 @@
|
|
103 |
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
|
104 |
+ *
|
|
105 |
+ * Copyright (C) 2006 Novell, Inc.
|
|
106 |
+ * Copyright (C) 2008 Red Hat, Inc.
|
|
107 |
+ * Copyright (C) 2008 Sun Microsystems, Inc.
|
12871
|
108 |
+ *
|
13200
|
109 |
+ * This program is free software; you can redistribute it and/or
|
|
110 |
+ * modify it under the terms of the GNU General Public License as
|
|
111 |
+ * published by the Free Software Foundation; either version 2 of the
|
|
112 |
+ * License, or (at your option) any later version.
|
|
113 |
+ *
|
|
114 |
+ * This program is distributed in the hope that it will be useful, but
|
|
115 |
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
116 |
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
117 |
+ * Lesser General Public License for more details.
|
|
118 |
+ *
|
|
119 |
+ * You should have received a copy of the GNU General Public License
|
|
120 |
+ * along with this program; if not, write to the Free Software
|
|
121 |
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
122 |
+ * 02111-1307, USA.
|
12871
|
123 |
+ */
|
|
124 |
+
|
|
125 |
+#ifdef HAVE_CONFIG_H
|
9397
|
126 |
+#include <config.h>
|
12871
|
127 |
+#endif
|
9397
|
128 |
+
|
12871
|
129 |
+#include <libintl.h>
|
|
130 |
+#include <signal.h>
|
|
131 |
+#include <stdlib.h>
|
9397
|
132 |
+
|
12871
|
133 |
+#include <glib/gi18n.h>
|
|
134 |
+#include <glib/goption.h>
|
|
135 |
+#include <gdk/gdkx.h>
|
|
136 |
+#include <gtk/gtklabel.h>
|
|
137 |
+#include <gtk/gtkvbox.h>
|
|
138 |
+#include <gtk/gtkprogressbar.h>
|
13200
|
139 |
+#include <gtk/gtk.h>
|
|
140 |
+
|
|
141 |
+#include <dbus/dbus.h>
|
|
142 |
+#include <dbus/dbus-glib.h>
|
|
143 |
+#include <dbus/dbus-glib-bindings.h>
|
|
144 |
+#include <dbus/dbus-glib-lowlevel.h>
|
9397
|
145 |
+
|
13200
|
146 |
+#include <unistd.h>
|
|
147 |
+#include <sys/types.h>
|
|
148 |
+#include <sys/stat.h>
|
|
149 |
+#include <fcntl.h>
|
|
150 |
+
|
|
151 |
+#include "gsm-gconf.h"
|
|
152 |
+#include "gsm-util.h"
|
|
153 |
+#include "gsm-manager.h"
|
|
154 |
+#include "gsm-xsmp-server.h"
|
|
155 |
+#include "gsm-store.h"
|
|
156 |
+#include "trusted.h"
|
12871
|
157 |
+
|
|
158 |
+#define TSOLJDS_MIGRATION_SCRIPT "/usr/dt/config/tsoljds-migration"
|
13200
|
159 |
+#define GSM_DBUS_NAME "org.gnome.SessionManager"
|
9397
|
160 |
+
|
12871
|
161 |
+gboolean defaultsession;
|
|
162 |
+gboolean nosession;
|
9397
|
163 |
+
|
12871
|
164 |
+static GOptionEntry entries[] = {
|
|
165 |
+ { "defaultsession", '\0', 0, G_OPTION_ARG_NONE, &defaultsession,
|
|
166 |
+ N_("Do not load user-specified applications"),
|
|
167 |
+ NULL },
|
|
168 |
+ { "nosession", '\0', 0, G_OPTION_ARG_NONE, &nosession,
|
|
169 |
+ N_("Do not startup any applications"),
|
|
170 |
+ NULL },
|
|
171 |
+ { NULL, 0, 0, 0, NULL, NULL, NULL }
|
9397
|
172 |
+};
|
|
173 |
+
|
|
174 |
+int
|
12871
|
175 |
+XAgentXErrorHandler (Display *dpy, XErrorEvent *error)
|
9397
|
176 |
+{
|
12871
|
177 |
+ char err_msg[132];
|
13200
|
178 |
+
|
12871
|
179 |
+ XGetErrorText (dpy, error->error_code, err_msg, sizeof (err_msg));
|
9397
|
180 |
+
|
12871
|
181 |
+ return 0;
|
9397
|
182 |
+}
|
|
183 |
+
|
|
184 |
+static void
|
|
185 |
+so_long_pipe (gpointer data)
|
|
186 |
+{
|
12871
|
187 |
+ /*
|
|
188 |
+ * The pipe is bust which probably means the stripe
|
|
189 |
+ * has died. So there's nothing to do but die.
|
|
190 |
+ */
|
|
191 |
+ exit (2);
|
9397
|
192 |
+}
|
|
193 |
+
|
13200
|
194 |
+static void
|
12871
|
195 |
+parse_exec_string (char *exec, int *screen, char **command)
|
|
196 |
+{
|
|
197 |
+ gchar **tokens = g_strsplit (exec, ":", 2);
|
|
198 |
+
|
|
199 |
+ if (tokens[0]) {
|
|
200 |
+ *screen = atoi (tokens[0]);
|
|
201 |
+ } else {
|
|
202 |
+ *screen = 0;
|
|
203 |
+ }
|
|
204 |
+
|
|
205 |
+ if (tokens[1]) {
|
|
206 |
+ *command = g_strdup (tokens[1]);
|
|
207 |
+ } else {
|
|
208 |
+ *command = g_strdup (exec);
|
|
209 |
+ }
|
|
210 |
+
|
|
211 |
+ g_strfreev (tokens);
|
|
212 |
+
|
|
213 |
+}
|
|
214 |
+
|
|
215 |
+static gboolean
|
|
216 |
+handle_pipe_input (GIOChannel *source,
|
|
217 |
+ GIOCondition condition,
|
|
218 |
+ gpointer data)
|
9397
|
219 |
+{
|
|
220 |
+#define BUFSIZE 1024
|
|
221 |
+ gsize byteread, pos;
|
|
222 |
+ gchar *str;
|
|
223 |
+ GError *error = NULL;
|
|
224 |
+ GIOStatus status=0;
|
|
225 |
+ int screen_num;
|
|
226 |
+ gchar *real_cmd;
|
12871
|
227 |
+ GdkDisplay *gdk_dpy;
|
9397
|
228 |
+
|
12871
|
229 |
+ if (condition & G_IO_ERR) return FALSE;
|
9397
|
230 |
+
|
12871
|
231 |
+ if (condition & G_IO_HUP) return FALSE;
|
9397
|
232 |
+
|
12871
|
233 |
+ if (condition & G_IO_IN) {
|
|
234 |
+ status = g_io_channel_read_line (source, &str, &byteread, &pos, &error);
|
9397
|
235 |
+
|
|
236 |
+ switch (status)
|
12871
|
237 |
+ {
|
13200
|
238 |
+ case G_IO_STATUS_NORMAL:
|
12871
|
239 |
+ str[pos] = '\0';
|
13200
|
240 |
+ parse_exec_string (str, &screen_num, &real_cmd);
|
12871
|
241 |
+ gdk_dpy = gdk_display_get_default ();
|
13200
|
242 |
+ gdk_spawn_command_line_on_screen (gdk_display_get_screen (gdk_dpy,
|
|
243 |
+ screen_num), real_cmd, &error);
|
|
244 |
+ g_free (real_cmd);
|
12871
|
245 |
+ return TRUE;
|
13200
|
246 |
+ case G_IO_STATUS_AGAIN:
|
|
247 |
+ return FALSE;
|
9397
|
248 |
+
|
13200
|
249 |
+ case G_IO_STATUS_EOF:
|
|
250 |
+ sleep(1);
|
|
251 |
+ return FALSE;
|
9397
|
252 |
+
|
13200
|
253 |
+ case G_IO_STATUS_ERROR:
|
|
254 |
+ return FALSE;
|
9397
|
255 |
+
|
13200
|
256 |
+ default:
|
|
257 |
+ g_assert_not_reached ();
|
|
258 |
+ return FALSE;
|
9397
|
259 |
+ }
|
|
260 |
+ }
|
|
261 |
+}
|
|
262 |
+
|
13200
|
263 |
+static void
|
|
264 |
+on_bus_name_lost (DBusGProxy *bus_proxy,
|
|
265 |
+ const char *name,
|
|
266 |
+ gpointer data)
|
|
267 |
+{
|
|
268 |
+ g_warning ("Lost name on bus: %s, exiting", name);
|
|
269 |
+ exit (1);
|
|
270 |
+}
|
|
271 |
+
|
|
272 |
+static gboolean
|
|
273 |
+acquire_name_on_proxy (DBusGProxy *bus_proxy,
|
|
274 |
+ const char *name)
|
|
275 |
+{
|
|
276 |
+ GError *error;
|
|
277 |
+ guint result;
|
|
278 |
+ gboolean res;
|
|
279 |
+ gboolean ret;
|
|
280 |
+
|
|
281 |
+ ret = FALSE;
|
|
282 |
+
|
|
283 |
+ if (bus_proxy == NULL) {
|
|
284 |
+ goto out;
|
|
285 |
+ }
|
|
286 |
+
|
|
287 |
+ error = NULL;
|
|
288 |
+ res = dbus_g_proxy_call (bus_proxy,
|
|
289 |
+ "RequestName",
|
|
290 |
+ &error,
|
|
291 |
+ G_TYPE_STRING, name,
|
|
292 |
+ G_TYPE_UINT, 0,
|
|
293 |
+ G_TYPE_INVALID,
|
|
294 |
+ G_TYPE_UINT, &result,
|
|
295 |
+ G_TYPE_INVALID);
|
|
296 |
+ if (! res) {
|
|
297 |
+ if (error != NULL) {
|
|
298 |
+ g_warning ("Failed to acquire %s: %s", name, error->message);
|
|
299 |
+ g_error_free (error);
|
|
300 |
+ } else {
|
|
301 |
+ g_warning ("Failed to acquire %s", name);
|
|
302 |
+ }
|
|
303 |
+ goto out;
|
|
304 |
+ }
|
|
305 |
+
|
|
306 |
+ if (result != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) {
|
|
307 |
+ if (error != NULL) {
|
|
308 |
+ g_warning ("Failed to acquire %s: %s", name, error->message);
|
|
309 |
+ g_error_free (error);
|
|
310 |
+ } else {
|
|
311 |
+ g_warning ("Failed to acquire %s", name);
|
|
312 |
+ }
|
|
313 |
+ goto out;
|
|
314 |
+ }
|
|
315 |
+
|
|
316 |
+ /* register for name lost */
|
|
317 |
+ dbus_g_proxy_add_signal (bus_proxy,
|
|
318 |
+ "NameLost",
|
|
319 |
+ G_TYPE_STRING,
|
|
320 |
+ G_TYPE_INVALID);
|
|
321 |
+ dbus_g_proxy_connect_signal (bus_proxy,
|
|
322 |
+ "NameLost",
|
|
323 |
+ G_CALLBACK (on_bus_name_lost),
|
|
324 |
+ NULL,
|
|
325 |
+ NULL);
|
|
326 |
+
|
|
327 |
+
|
|
328 |
+ ret = TRUE;
|
|
329 |
+
|
|
330 |
+ out:
|
|
331 |
+ return ret;
|
|
332 |
+}
|
|
333 |
+
|
|
334 |
+static gboolean
|
|
335 |
+acquire_name (void)
|
|
336 |
+{
|
|
337 |
+ DBusGProxy *bus_proxy;
|
|
338 |
+ GError *error;
|
|
339 |
+ DBusGConnection *connection;
|
|
340 |
+
|
|
341 |
+ error = NULL;
|
|
342 |
+ connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error);
|
|
343 |
+ if (connection == NULL) {
|
|
344 |
+ gsm_util_init_error (TRUE,
|
|
345 |
+ "Could not connect to session bus: %s",
|
|
346 |
+ error->message);
|
|
347 |
+ /* not reached */
|
|
348 |
+ }
|
|
349 |
+
|
|
350 |
+ bus_proxy = dbus_g_proxy_new_for_name (connection,
|
|
351 |
+ DBUS_SERVICE_DBUS,
|
|
352 |
+ DBUS_PATH_DBUS,
|
|
353 |
+ DBUS_INTERFACE_DBUS);
|
|
354 |
+
|
|
355 |
+ if (! acquire_name_on_proxy (bus_proxy, GSM_DBUS_NAME) ) {
|
|
356 |
+ gsm_util_init_error (TRUE,
|
|
357 |
+ "Could not acquire name on session bus: %s",
|
|
358 |
+ error->message);
|
|
359 |
+ /* not reached */
|
|
360 |
+ }
|
|
361 |
+
|
|
362 |
+ g_object_unref (bus_proxy);
|
|
363 |
+
|
|
364 |
+ return TRUE;
|
|
365 |
+}
|
|
366 |
+
|
12871
|
367 |
+int
|
|
368 |
+main (int argc, char **argv)
|
9397
|
369 |
+{
|
13200
|
370 |
+ struct sigaction sa;
|
|
371 |
+ GError *error;
|
|
372 |
+ char *display_str;
|
|
373 |
+ Display *xdisp;
|
|
374 |
+ GdkDisplay *gdisp;
|
|
375 |
+ GsmManager *manager;
|
|
376 |
+ GsmStore *client_store;
|
|
377 |
+ GsmXsmpServer *xsmp_server;
|
|
378 |
+ int dummy_fd, pipe_fd;
|
|
379 |
+ GIOChannel *channel;
|
|
380 |
+ guint result;
|
9397
|
381 |
+
|
13200
|
382 |
+ bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);
|
|
383 |
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
|
384 |
+ textdomain (GETTEXT_PACKAGE);
|
9397
|
385 |
+
|
13200
|
386 |
+ int fd = open ("/dev/null", O_RDWR);
|
|
387 |
+ dup2 (fd, 1);
|
|
388 |
+ dup2 (fd, 2);
|
9397
|
389 |
+
|
13200
|
390 |
+ sa.sa_handler = SIG_IGN;
|
|
391 |
+ sa.sa_flags = 0;
|
|
392 |
+ sigemptyset (&sa.sa_mask);
|
|
393 |
+ sigaction (SIGPIPE, &sa, 0);
|
|
394 |
+
|
|
395 |
+ if ((pipe_fd = dup (fileno(stdin))) != -1) {
|
|
396 |
+ close (fileno(stdin));
|
|
397 |
+ dummy_fd = open ("/dev/null", O_RDONLY);
|
|
398 |
+ fcntl (pipe_fd, F_SETFD, 1);
|
|
399 |
+ } else {
|
|
400 |
+ pipe_fd = fileno (stdin);
|
|
401 |
+ }
|
9397
|
402 |
+
|
13200
|
403 |
+ error = NULL;
|
|
404 |
+ gtk_init_with_args (&argc, &argv,
|
|
405 |
+ (char *) _(" - the GNOME session manager"),
|
|
406 |
+ entries, GETTEXT_PACKAGE,
|
|
407 |
+ &error);
|
|
408 |
+ if (error != NULL) {
|
|
409 |
+ gsm_util_init_error (TRUE, "%s", error->message);
|
|
410 |
+ }
|
9397
|
411 |
+
|
13200
|
412 |
+ /* Set DISPLAY explicitly for all our children, in case --display
|
|
413 |
+ * was specified on the command line.
|
|
414 |
+ */
|
|
415 |
+ display_str = gdk_get_display ();
|
|
416 |
+ gsm_util_setenv ("DISPLAY", display_str);
|
|
417 |
+ g_free (display_str);
|
9397
|
418 |
+
|
13200
|
419 |
+ gdisp = gdk_display_get_default ();
|
|
420 |
+ xdisp = gdk_x11_display_get_xdisplay (gdisp);
|
|
421 |
+ XInternAtom (xdisp, "GNOME_SM_DESKTOP", FALSE);
|
9397
|
422 |
+
|
13200
|
423 |
+ XSetErrorHandler (XAgentXErrorHandler);
|
9397
|
424 |
+
|
13200
|
425 |
+ client_store = gsm_store_new ();
|
9397
|
426 |
+
|
13200
|
427 |
+ if (!nosession) {
|
|
428 |
+ /* Start up gconfd if not already running. */
|
|
429 |
+ gsm_gconf_init ();
|
9397
|
430 |
+
|
13200
|
431 |
+ xsmp_server = gsm_xsmp_server_new (client_store);
|
|
432 |
+
|
|
433 |
+ /* Now make sure they succeeded. (They'll call
|
|
434 |
+ * gsm_util_init_error() if they failed.)
|
|
435 |
+ */
|
|
436 |
+ gsm_gconf_check ();
|
|
437 |
+ acquire_name ();
|
|
438 |
+
|
|
439 |
+ manager = gsm_manager_new (client_store, defaultsession);
|
|
440 |
+
|
|
441 |
+ gsm_xsmp_server_start (xsmp_server);
|
|
442 |
+
|
|
443 |
+ if (g_file_test (TSOLJDS_MIGRATION_SCRIPT, G_FILE_TEST_IS_EXECUTABLE)) {
|
|
444 |
+ system (TSOLJDS_MIGRATION_SCRIPT);
|
|
445 |
+ }
|
|
446 |
+ /*start the session*/
|
|
447 |
+ gsm_manager_start (manager);
|
|
448 |
+ }
|
9397
|
449 |
+
|
13200
|
450 |
+ /* we may have to spawn an exec immediately */
|
|
451 |
+ gdk_spawn_command_line_on_screen (gdk_display_get_screen (gdisp, 0),
|
|
452 |
+ g_getenv("LABEL_EXEC_COMMAND"), &error);
|
|
453 |
+
|
|
454 |
+ channel = g_io_channel_unix_new (pipe_fd);
|
|
455 |
+ result = g_io_add_watch_full (channel, G_PRIORITY_HIGH,
|
|
456 |
+ G_IO_IN | G_IO_PRI | G_IO_ERR | G_IO_HUP,
|
|
457 |
+ (GIOFunc)handle_pipe_input, NULL,
|
|
458 |
+ so_long_pipe);
|
|
459 |
+
|
|
460 |
+ gtk_main ();
|
9397
|
461 |
+
|
13200
|
462 |
+ if (xsmp_server != NULL) {
|
|
463 |
+ g_object_unref (xsmp_server);
|
|
464 |
+ }
|
|
465 |
+
|
|
466 |
+ gsm_gconf_shutdown ();
|
9397
|
467 |
+
|
13200
|
468 |
+ if (manager != NULL) {
|
|
469 |
+ g_object_unref (manager);
|
|
470 |
+ }
|
9397
|
471 |
+
|
13200
|
472 |
+ return 0;
|
9397
|
473 |
+}
|