[gitg] Port gee from version 1.0 to 0.8



commit d1278a24b3c46adf777777d2993fd51c6127cc3d
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Sun May 26 14:28:34 2013 +0800

    Port gee from version 1.0 to 0.8

 configure.ac                                 |    4 ++--
 gitg/Makefile.am                             |    2 +-
 libgitg-ext/Makefile.am                      |    2 +-
 libgitg-gtk/Makefile.am                      |    2 +-
 plugins/history/gitg-history-navigation.vala |    2 +-
 plugins/history/gitg-history.vala            |    2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e6681f3..c472a1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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                    \
diff --git a/gitg/Makefile.am b/gitg/Makefile.am
index b957eb2..f127ae5 100644
--- a/gitg/Makefile.am
+++ b/gitg/Makefile.am
@@ -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"                        \
diff --git a/libgitg-ext/Makefile.am b/libgitg-ext/Makefile.am
index e6d1849..01b379d 100644
--- a/libgitg-ext/Makefile.am
+++ b/libgitg-ext/Makefile.am
@@ -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         \
diff --git a/libgitg-gtk/Makefile.am b/libgitg-gtk/Makefile.am
index 03c62ea..6f8a736 100644
--- a/libgitg-gtk/Makefile.am
+++ b/libgitg-gtk/Makefile.am
@@ -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)                       \
diff --git a/plugins/history/gitg-history-navigation.vala b/plugins/history/gitg-history-navigation.vala
index 6e4b9e5..edec6f3 100644
--- a/plugins/history/gitg-history-navigation.vala
+++ b/plugins/history/gitg-history-navigation.vala
@@ -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))
                                {
diff --git a/plugins/history/gitg-history.vala b/plugins/history/gitg-history.vala
index f5905e6..7c94881 100644
--- a/plugins/history/gitg-history.vala
+++ b/plugins/history/gitg-history.vala
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]