libyui-ncurses/fix_build_with_new_ncurses....

30 lines
826 B
Diff

From 6444e043b58bf7703e4fc9035f380f3817207525 Mon Sep 17 00:00:00 2001
From: Stefan Hundhammer <shundhammer@suse.de>
Date: Thu, 4 Jan 2018 17:21:56 +0100
Subject: [PATCH] Removed function that conflicts with newer NCurses lib
(bsc#1074600)
---
src/ncursesw.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/ncursesw.h b/src/ncursesw.h
index d25923a..c8b95bb 100644
--- a/src/ncursesw.h
+++ b/src/ncursesw.h
@@ -1607,14 +1607,6 @@ class NCursesWindow
return ::wtouchln( w, s, cnt, ( int )( changed ? 1 : 0 ) );
}
- /**
- * Return TRUE if line is marked as changed, FALSE otherwise
- */
- bool is_linetouched( int line ) const
- {
- return ( ::is_linetouched( w, line ) ? TRUE : FALSE );
- }
-
/**
* Return TRUE if window is marked as changed, FALSE otherwise
*/