wok-next view marlin/stuff/marlin-fix-tests.patch @ rev 17699
Up marlin: edit last patch
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Feb 26 22:14:27 2015 -0300 (2015-02-26) |
parents | b306abf02078 |
children | fe7032bb58d0 |
line source
1 # opened ticket at https://bugs.launchpad.net/marlin/+bug/1404153
2 --- marlin-0.5/libwidget/tests/tests-pathbar.vala 2015-02-26 21:42:49.328510064 -0300
3 +++ marlin-0.5/libwidget/tests/tests-pathbar.vala 2015-02-26 21:42:31.216508618 -0300
4 @@ -35,7 +35,7 @@
5 var bread_entry = new BreadcrumbsEntry();
6 assert(bread_entry is BreadcrumbsEntry);
7 assert(bread_entry.text == "");
8 - Gdk.EventKey event = Gdk.EventKey();
9 + Gdk.EventKey event = new Gdk.EventKey();
10 event.window = breads.get_window();
11 event.keyval = 0x061; /* a */
12 bread_entry.key_press_event(event);
13 @@ -122,7 +122,7 @@
14 assert(bread_entry.text == "");
15 bread_entry.text = "abdcefghij/";
16 bread_entry.cursor = ("abdcefghij/").length;
17 - Gdk.EventKey event = Gdk.EventKey();
18 + Gdk.EventKey event = new Gdk.EventKey();
19 event.state = Gdk.ModifierType.SHIFT_MASK;
20 event.window = breads.get_window();
21 event.keyval = 0xff51; /* left */
22 @@ -136,7 +136,7 @@
23 var bread_entry = new BreadcrumbsEntry();
24 assert(bread_entry is BreadcrumbsEntry);
25 assert(bread_entry.text == "");
26 - Gdk.EventKey event = Gdk.EventKey();
27 + Gdk.EventKey event = new Gdk.EventKey();
28 event.window = breads.get_window();
29 event.keyval = 0xff08; /* backspace */
30 bread_entry.key_press_event(event);
31 @@ -149,7 +149,7 @@
32 BreadcrumbsEntry bread_entry = breads.entry;
33 assert(bread_entry is BreadcrumbsEntry);
34 assert(bread_entry.text == "");
35 - Gdk.EventKey event = Gdk.EventKey();
36 + Gdk.EventKey event = new Gdk.EventKey();
37 event.window = breads.get_window();
38 event.keyval = 0xff08; /* backspace */
39 breads.key_press_event(event);