gnome-scan r671 - in trunk: . lib
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-scan r671 - in trunk: . lib
- Date: Sun, 14 Dec 2008 13:22:47 +0000 (UTC)
Author: bersace
Date: Sun Dec 14 13:22:47 2008
New Revision: 671
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=671&view=rev
Log:
Don't init gthread in gnome_scan_init().
Modified:
trunk/ChangeLog
trunk/lib/gnome-scan-init.vala
Modified: trunk/lib/gnome-scan-init.vala
==============================================================================
--- trunk/lib/gnome-scan-init.vala (original)
+++ trunk/lib/gnome-scan-init.vala Sun Dec 14 13:22:47 2008
@@ -27,10 +27,7 @@
namespace Gnome.Scan {
// should be private !
public ModuleManager module_manager;
- /**
- * Calls g_thread_init(), must be called before gtk_init(), but
- * after g_type_init().
- */
+
public void init([CCode (array_length_pos = 0.9)]ref weak string[] argv)
{
string module_path;
@@ -47,9 +44,6 @@
"modules/gsfile", "modules/gsane",
"../modules/gsfile", "../modules/gsane");
module_manager = new ModuleManager(module_path);
-
- if (!GLib.Thread.supported())
- GLib.Thread.init(null);
}
public void exit()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]