[pygi] Fix to match latest gtk annotations
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygi] Fix to match latest gtk annotations
- Date: Mon, 14 Jun 2010 17:07:17 +0000 (UTC)
commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Jun 14 19:06:45 2010 +0200
Fix to match latest gtk annotations
demos/gtk-demo/demos/appwindow.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/demos/appwindow.py b/demos/gtk-demo/demos/appwindow.py
index 822b6a0..eb70705 100644
--- a/demos/gtk-demo/demos/appwindow.py
+++ b/demos/gtk-demo/demos/appwindow.py
@@ -76,8 +76,7 @@ def update_statusbar(buffer, statusbar):
statusbar.pop(0)
count = buffer.get_char_count()
- iter = Gtk.TextIter()
- buffer.get_iter_at_mark(iter, buffer.get_insert())
+ iter = buffer.get_iter_at_mark(buffer.get_insert())
row = iter.get_line()
col = iter.get_line_offset()
msg = 'Cursor at row %d column %d - %d chars in document' % (row, col, count)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]