[gnome-panel] [panel] Initiliaze bonobo
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-panel] [panel] Initiliaze bonobo
- Date: Thu, 14 Jan 2010 10:04:07 +0000 (UTC)
commit c390b0765038644e6e63b6ca250af2993f2a434f
Author: Vincent Untz <vuntz gnome org>
Date: Thu Jan 14 10:45:48 2010 +0100
[panel] Initiliaze bonobo
Apparently, calling bonobo_init() is really needed. At least for others,
since it works fine for me without it. Weird. Anyway, it doesn't hurt.
gnome-panel/main.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/main.c b/gnome-panel/main.c
index 3b1e4d3..2e388e8 100644
--- a/gnome-panel/main.c
+++ b/gnome-panel/main.c
@@ -77,13 +77,11 @@ main (int argc, char **argv)
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
gtk_init (&argc, &argv);
-#if 0
- /* Hrm, not needed? */
+
if (!bonobo_init (&argc, argv)) {
g_printerr ("Cannot initialize bonobo.\n");
return 1;
}
-#endif
error = NULL;
if (!g_option_context_parse (context, &argc, &argv, &error)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]