[gitg] Fix diff test



commit dd90ad4fbb54c81dec2950135996ce986d6f19d3
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Mar 11 10:45:43 2013 +0100

    Fix diff test

 tests/diff-view.vala |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/tests/diff-view.vala b/tests/diff-view.vala
index ac77dcf..a32742c 100644
--- a/tests/diff-view.vala
+++ b/tests/diff-view.vala
@@ -3,7 +3,7 @@ class TestDiffView
        public static int main(string[] args)
        {
                Gtk.init(ref args);
-               Ggit.init();
+               Gitg.init();
 
                if (Environment.get_variable("GITG_GTK_DIFF_VIEW_DEBUG") != "local" && args.length > 1 && 
args[1] == "--local")
                {
@@ -103,13 +103,6 @@ class TestDiffView
                var v = new GitgGtk.DiffView(null);
                sw.add(v);
 
-               v.options = new Ggit.DiffOptions(Ggit.DiffOption.NORMAL,
-                                                3,
-                                                0,
-                                                null,
-                                                null,
-                                                null);
-
                v.commit = commit;
 
                v.key_press_event.connect((vv, ev) => {


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