wok-next diff marlin/stuff/marlin-fix-tests.patch @ rev 17698
Up marlin: Add a patch
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Feb 26 22:08:46 2015 -0300 (2015-02-26) |
parents | |
children | c611d2ab4b50 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/marlin/stuff/marlin-fix-tests.patch Thu Feb 26 22:08:46 2015 -0300 1.3 @@ -0,0 +1,39 @@ 1.4 +# opened ticket at https://bugs.launchpad.net/marlin/+bug/1404153 1.5 +--- marlin-0.5/libwidget/tests/tests-pathbar.vala 2015-02-26 21:42:49.328510064 -0300 1.6 ++++ marlin-0.5/libwidget/tests/tests-pathbar-fixed.vala 2015-02-26 21:42:31.216508618 -0300 1.7 +@@ -35,7 +35,7 @@ 1.8 + var bread_entry = new BreadcrumbsEntry(); 1.9 + assert(bread_entry is BreadcrumbsEntry); 1.10 + assert(bread_entry.text == ""); 1.11 +- Gdk.EventKey event = Gdk.EventKey(); 1.12 ++ Gdk.EventKey event = new Gdk.EventKey(); 1.13 + event.window = breads.get_window(); 1.14 + event.keyval = 0x061; /* a */ 1.15 + bread_entry.key_press_event(event); 1.16 +@@ -122,7 +122,7 @@ 1.17 + assert(bread_entry.text == ""); 1.18 + bread_entry.text = "abdcefghij/"; 1.19 + bread_entry.cursor = ("abdcefghij/").length; 1.20 +- Gdk.EventKey event = Gdk.EventKey(); 1.21 ++ Gdk.EventKey event = new Gdk.EventKey(); 1.22 + event.state = Gdk.ModifierType.SHIFT_MASK; 1.23 + event.window = breads.get_window(); 1.24 + event.keyval = 0xff51; /* left */ 1.25 +@@ -136,7 +136,7 @@ 1.26 + var bread_entry = new BreadcrumbsEntry(); 1.27 + assert(bread_entry is BreadcrumbsEntry); 1.28 + assert(bread_entry.text == ""); 1.29 +- Gdk.EventKey event = Gdk.EventKey(); 1.30 ++ Gdk.EventKey event = new Gdk.EventKey(); 1.31 + event.window = breads.get_window(); 1.32 + event.keyval = 0xff08; /* backspace */ 1.33 + bread_entry.key_press_event(event); 1.34 +@@ -149,7 +149,7 @@ 1.35 + BreadcrumbsEntry bread_entry = breads.entry; 1.36 + assert(bread_entry is BreadcrumbsEntry); 1.37 + assert(bread_entry.text == ""); 1.38 +- Gdk.EventKey event = Gdk.EventKey(); 1.39 ++ Gdk.EventKey event = new Gdk.EventKey(); 1.40 + event.window = breads.get_window(); 1.41 + event.keyval = 0xff08; /* backspace */ 1.42 + breads.key_press_event(event);