mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-05 23:50:07 +00:00
Fix diff test compilation
This commit is contained in:
parent
9d0bbf4f39
commit
6cecdedfb5
2
libgd
2
libgd
|
@ -1 +1 @@
|
|||
Subproject commit 42e48be3b7cc5c4a21b684f92628c28c4445f3b7
|
||||
Subproject commit 33561eea68af66209af8426c9ff55cc3143f0ab5
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue