mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-08-27 20:09:23 +00:00
Port gee from version 1.0 to 0.8
This commit is contained in:
parent
c26900daea
commit
d1278a24b3
|
@ -159,7 +159,7 @@ WEBKITGTK_REQUIRED_VERSION=1.9.92
|
|||
PKG_CHECK_MODULES(LIBGITG_GTK, [
|
||||
gtk+-3.0 >= $GTK_REQUIRED_VERSION
|
||||
webkit2gtk-3.0 >= $WEBKITGTK_REQUIRED_VERSION
|
||||
gee-1.0
|
||||
gee-0.8
|
||||
json-glib-1.0
|
||||
])
|
||||
|
||||
|
@ -243,7 +243,7 @@ GITG_PLUGIN_VALAFLAGS=" \
|
|||
--pkg gtk+-3.0 \
|
||||
--pkg gtksourceview-3.0 \
|
||||
--pkg libpeas-1.0 \
|
||||
--pkg gee-1.0 \
|
||||
--pkg gee-0.8 \
|
||||
--pkg json-glib-1.0 \
|
||||
--pkg libsoup-2.4 \
|
||||
--pkg webkit2gtk-3.0 \
|
||||
|
|
|
@ -22,7 +22,7 @@ AM_VALAFLAGS = \
|
|||
--pkg gio-2.0 \
|
||||
--pkg libpeas-1.0 \
|
||||
--pkg gobject-introspection-1.0 \
|
||||
--pkg gee-1.0 \
|
||||
--pkg gee-0.8 \
|
||||
--pkg gd-1.0 \
|
||||
--pkg webkit2gtk-3.0 \
|
||||
--girdir "$(top_builddir)/libgd" \
|
||||
|
|
|
@ -14,7 +14,7 @@ COMMON_VALA_FLAGS = \
|
|||
--pkg libgitg-1.0 \
|
||||
--pkg gio-2.0 \
|
||||
--pkg gtk+-3.0 \
|
||||
--pkg gee-1.0 \
|
||||
--pkg gee-0.8 \
|
||||
--pkg gd-1.0 \
|
||||
--basedir $(top_srcdir) \
|
||||
--vapidir $(top_builddir)/libgd \
|
||||
|
|
|
@ -28,7 +28,7 @@ AM_VALAFLAGS = \
|
|||
--pkg gio-2.0 \
|
||||
--pkg libsoup-2.4 \
|
||||
--pkg webkit2gtk-3.0 \
|
||||
--pkg gee-1.0 \
|
||||
--pkg gee-0.8 \
|
||||
--pkg json-glib-1.0 \
|
||||
--pkg egglistbox \
|
||||
$(GITG_VALAFLAGS) \
|
||||
|
|
|
@ -233,7 +233,7 @@ namespace GitgHistory
|
|||
|
||||
var rrefs = remotes.lookup(rname);
|
||||
|
||||
rrefs.sort((CompareFunc)sort_remote_refs);
|
||||
rrefs.sort((CompareDataFunc)sort_remote_refs);
|
||||
|
||||
foreach (var rref in remotes.lookup(rname))
|
||||
{
|
||||
|
|
|
@ -65,7 +65,7 @@ namespace GitgHistory
|
|||
construct
|
||||
{
|
||||
d_model = new GitgGtk.CommitModel(application.repository);
|
||||
d_selected = new Gee.HashSet<Ggit.OId>(Ggit.OId.hash, (EqualFunc<Ggit.OId>)Ggit.OId.equal);
|
||||
d_selected = new Gee.HashSet<Ggit.OId>((Gee.HashDataFunc<Ggit.OId>)Ggit.OId.hash, (Gee.EqualDataFunc<Ggit.OId>)Ggit.OId.equal);
|
||||
|
||||
d_model.started.connect(on_commit_model_started);
|
||||
d_model.finished.connect(on_commit_model_finished);
|
||||
|
|
Loading…
Reference in a new issue