From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by bl2.djc.id.au (Postfix, from userid 1000) id 69CD829BBD5; Sat, 17 Oct 2026 11:24:59 +1100 (AEDT) Date: Sat, 17 Oct 2026 11:25:06 +1100 To: sup-commits@supmua.dev Subject: [ncursesw-ruby.git] 08/10: fix duplicate definition of pair_content method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Reply-To: Dan Callaghan In-Reply-To: <179219669847.381480.6906705364727468632@bl2.djc.id.au> References: <179219669847.381480.6906705364727468632@bl2.djc.id.au> Thread-Index: AQAAEjRW1ch74naHRnKg4xL7js+6AQ== X-Git-Host: bl2.djc.id.au X-Git-Repo: ncursesw-ruby.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: ab7ef7466ce78093d4c97ae014c3d345dc71ac99 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.7.dev Auto-Submitted: auto-generated Message-Id: <20261017002459.69CD829BBD5@bl2.djc.id.au> From: Dan Callaghan List-Id: New commit on branch master: https://supmua.dev/git/ncursesw-ruby/commit/ab7ef7466ce78093d4c97ae014c3d345dc71ac99.html commit ab7ef7466ce78093d4c97ae014c3d345dc71ac99 Author: Dan Callaghan AuthorDate: Sat Oct 10 18:10:30 2026 +1100 fix duplicate definition of pair_content method It was causing a warning in Sup's test suite, now that there is a call to Ncurses.newterm: test/unit/test_line_cursor_mode.rb:15: warning: method redefined; discarding old pair_content --- ncurses_wrap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ncurses_wrap.c b/ncurses_wrap.c index 2b3f371..8ef2d2e 100644 --- a/ncurses_wrap.c +++ b/ncurses_wrap.c @@ -2090,7 +2090,6 @@ static void init_functions_2(void) { NCFUNC(wvline, 3); NCFUNC(color_content, 4); NCFUNC(pair_content, 3); - NCFUNC(pair_content, 3); #ifdef HAVE_GETWIN NCFUNC(getwin, 1); #endif