[f-spot: 1/2] Patch to fix the RetroactiveRoll build.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot: 1/2] Patch to fix the RetroactiveRoll build.
- Date: Sat, 27 Mar 2010 17:53:55 +0000 (UTC)
commit e7c878b63252b8deb441f88f9f430b81a055b737
Author: Ruben Vermeersch <ruben savanne be>
Date: Sat Mar 27 18:52:51 2010 +0100
Patch to fix the RetroactiveRoll build.
Submitted by Andy Wingo.
https://bugzilla.gnome.org/show_bug.cgi?id=614109
extensions/Tools/Makefile.am | 1 +
.../Tools/RetroactiveRoll/RetroactiveRoll.cs | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/extensions/Tools/Makefile.am b/extensions/Tools/Makefile.am
index 2b291ae..7cd8c1d 100644
--- a/extensions/Tools/Makefile.am
+++ b/extensions/Tools/Makefile.am
@@ -4,4 +4,5 @@ SUBDIRS = \
HashJob \
MergeDb \
RawPlusJpeg \
+ RetroactiveRoll \
ScreensaverConfig
diff --git a/extensions/Tools/RetroactiveRoll/RetroactiveRoll.cs b/extensions/Tools/RetroactiveRoll/RetroactiveRoll.cs
index fb15482..019713a 100644
--- a/extensions/Tools/RetroactiveRoll/RetroactiveRoll.cs
+++ b/extensions/Tools/RetroactiveRoll/RetroactiveRoll.cs
@@ -33,14 +33,14 @@ namespace RetroactiveRoll
if (p.Time > import_time)
import_time = p.Time;
- RollStore rolls = Core.Database.Rolls;
+ RollStore rolls = App.Instance.Database.Rolls;
Roll roll = rolls.Create(import_time);
foreach (Photo p in photos) {
DbCommand cmd = new DbCommand ("UPDATE photos SET roll_id = :roll_id " +
"WHERE id = :id ",
"roll_id", roll.Id,
"id", p.Id);
- Core.Database.Database.ExecuteNonQuery (cmd);
+ App.Instance.Database.Database.ExecuteNonQuery (cmd);
p.RollId = roll.Id;
}
Console.WriteLine ("RetroactiveRoll done: " + photos.Length + " photos in roll " + roll.Id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]