[meld] filediff: Stop using buffer builtin name
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] filediff: Stop using buffer builtin name
- Date: Fri, 26 Aug 2016 22:14:14 +0000 (UTC)
commit 354979a49691d54190dc856b7a1d9f4f4cfe1f61
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Jul 31 08:03:45 2016 +1000
filediff: Stop using buffer builtin name
meld/filediff.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 89daf41..20ad86d 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -748,9 +748,9 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
self._set_merge_action_sensitivity()
self._set_external_action_sensitivity()
- def _after_text_modified(self, buffer, startline, sizechange):
+ def _after_text_modified(self, buf, startline, sizechange):
if self.num_panes > 1:
- pane = self.textbuffer.index(buffer)
+ pane = self.textbuffer.index(buf)
if not self.linediffer.syncpoints:
self.linediffer.change_sequence(pane, startline, sizechange,
self.buffer_filtered)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]