Fix diff test compilation

This commit is contained in:
Ignacio Casal Quinteiro 2013-03-07 10:10:28 +01:00
parent 9d0bbf4f39
commit 6cecdedfb5
2 changed files with 8 additions and 7 deletions

2
libgd

@ -1 +1 @@
Subproject commit 42e48be3b7cc5c4a21b684f92628c28c4445f3b7
Subproject commit 33561eea68af66209af8426c9ff55cc3143f0ab5

View file

@ -3,6 +3,7 @@ class TestDiffView
public static int main(string[] args)
{
Gtk.init(ref args);
Ggit.init();
if (Environment.get_variable("GITG_GTK_DIFF_VIEW_DEBUG") != "local" && args.length > 1 && args[1] == "--local")
{
@ -102,12 +103,12 @@ class TestDiffView
var v = new GitgGtk.DiffView(null);
sw.add(v);
v.options = new Ggit.DiffOptions(Ggit.DiffFlags.NORMAL,
3,
0,
null,
null,
null);
v.options = new Ggit.DiffOptions(Ggit.DiffOption.NORMAL,
3,
0,
null,
null,
null);
v.commit = commit;