[Pioneers-commits] r18 - trunk/client/gtk

kemm at garage.maemo.org kemm at garage.maemo.org
Mon Mar 10 03:15:29 EET 2008


Author: kemm
Date: 2008-03-10 03:15:29 +0200 (Mon, 10 Mar 2008)
New Revision: 18

Modified:
   trunk/client/gtk/offline.c
Log:
OSSO initialization

Modified: trunk/client/gtk/offline.c
===================================================================
--- trunk/client/gtk/offline.c	2008-03-10 00:56:22 UTC (rev 17)
+++ trunk/client/gtk/offline.c	2008-03-10 01:15:29 UTC (rev 18)
@@ -26,6 +26,7 @@
 #ifdef HAVE_LIBGNOME
 #include <libgnome/libgnome.h>
 #endif
+#include <libosso.h>
 #include "common_gtk.h"
 #include "config-gnome.h"
 #include "theme.h"
@@ -164,7 +165,13 @@
 	GOptionContext *context;
 	GError *error = NULL;
 	gchar *style;
+    osso_context_t *osso_context;
 
+    osso_context = osso_initialize("pioneers", "0.0.2", TRUE, NULL);
+    if (osso_context == NULL) {
+        return OSSO_ERROR;
+    }
+    
 	frontend_gui_register_init();
 
 	set_ui_driver(&GTK_Driver);



More information about the Pioneers-commits mailing list