Commit f0174d4d authored by Jim Nelson's avatar Jim Nelson

Made changes for Shotwell to depend on gee-1.0 alone and not vala-1.0 (save to compile).

parent 9849bb9f
......@@ -4,6 +4,7 @@ VERSION = 0.1.1
BUILD_ROOT = 1
VALAC = valac
VALAC_VERSION = vala-1.0 >= 0.7.3
INSTALL_PROGRAM = install
INSTALL_DATA = install -m 644
......@@ -81,7 +82,7 @@ LOCAL_PKGS = \
EXT_PKGS = \
gtk+-2.0 \
sqlite3 \
vala-1.0 \
gee-1.0 \
hal \
dbus-glib-1 \
unique-1.0 \
......@@ -91,7 +92,7 @@ EXT_PKGS = \
EXT_PKG_VERSIONS = \
gtk+-2.0 >= 2.14.4 \
sqlite3 >= 3.5.9 \
vala-1.0 >= 0.7.3 \
gee-1.0 >= 0.1.5 \
hal >= 0.5.11 \
dbus-glib-1 >= 0.76 \
unique-1.0 >= 1.0.0 \
......@@ -151,7 +152,7 @@ $(DIST_TAR_BZ2): $(PROGRAM) $(DIST_FILES)
$(PROGRAM): $(EXPANDED_SRC_FILES) $(EXPANDED_VAPI_FILES) $(EXPANDED_SRC_HEADER_FILES) Makefile \
configure $(CONFIG_IN)
pkg-config --print-errors --exists 'vala-1.0 >= 0.7.3'
pkg-config --print-errors --exists '$(VALAC_VERSION)'
ifndef ASSUME_PKGS
ifdef EXT_PKG_VERSIONS
pkg-config --print-errors --exists '$(EXT_PKG_VERSIONS)'
......
Shotwell 0.1.1 - 29 June 2009
Shotwell 0.1.1 - 30 June 2009
-----------------------------
- Bug fix: Dragging a selection band to the bottom of the window to start
scrolling results in compiz crashing. This fixes that problem, although
another reported problem still exists (#380).
- Changed package dependency from vala-1.0 to gee-1.0. Although Vala is
required to build Shotwell, it does not need to be installed to execute
it. Gee provides the collections library Shotwell requires.
- Fixed code to compile with Vala 0.7.4.
Shotwell 0.1.0 - 26 June 2009
......
......@@ -8,7 +8,7 @@ public abstract class Comparator<G> {
public abstract int64 compare(G a, G b);
}
public class SortedList<G> : Gee.CollectionObject, Gee.Iterable<G>, Gee.Collection<G>, Gee.List<G> {
public class SortedList<G> : Object, Gee.Iterable<G>, Gee.Collection<G>, Gee.List<G> {
private Gee.List<G> list;
private Comparator<G> cmp;
......@@ -72,15 +72,15 @@ public class SortedList<G> : Gee.CollectionObject, Gee.Iterable<G>, Gee.Collecti
public int size {
get { return list.size; }
}
public G? get(int index) {
public new G? get(int index) {
return list.get(index);
}
public void set(int index, G item) {
public new void set(int index, G item) {
list.set(index, item);
}
public int index_of(G item) {
return list.index_of(item);
}
......@@ -92,6 +92,10 @@ public class SortedList<G> : Gee.CollectionObject, Gee.Iterable<G>, Gee.Collecti
public void remove_at(int index) {
list.remove_at(index);
}
public Gee.List<G>? slice(int start, int stop) {
return list.slice(start, stop);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment