gnome-scan r815 - in trunk: . lib
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-scan r815 - in trunk: . lib
- Date: Sun, 1 Feb 2009 18:29:23 +0000 (UTC)
Author: bersace
Date: Sun Feb 1 18:29:23 2009
New Revision: 815
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=815&view=rev
Log:
Drop useless check for module path construction
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 Feb 1 18:29:23 2009
@@ -46,8 +46,7 @@
option_manager.register_rule_by_name("page-orientation", typeof(PageOrientationWidget));
// If we are in source tree.
- if (GLib.FileUtils.test("modules/gsfile", GLib.FileTest.IS_DIR)
- || GLib.FileUtils.test("../modules/gsfile", GLib.FileTest.IS_DIR)) {
+ if (GLib.FileUtils.test("modules/gsfile", GLib.FileTest.IS_DIR)) {
module_path = string.join(GLib.Path.SEARCHPATH_SEPARATOR_S,
"modules/gsfile", "modules/gsane");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]