[pygobject] Remove semicolumns
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Remove semicolumns
- Date: Tue, 7 Dec 2010 13:13:49 +0000 (UTC)
commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
Author: Paolo Borelli <pborelli gnome org>
Date: Tue Dec 7 14:07:53 2010 +0100
Remove semicolumns
gi/overrides/Gtk.py | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index a4b3982..69ddff2 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -290,8 +290,7 @@ class Builder(Gtk.Builder):
else:
gobj.connect(signal_name, handler)
- self.connect_signals_full(_full_callback,
- obj_or_map);
+ self.connect_signals_full(_full_callback, obj_or_map)
def add_from_string(self, buffer):
if not isinstance(buffer, _basestring):
@@ -659,7 +658,7 @@ class TreeModel(Gtk.TreeModel):
# TODO: Accept a dictionary for row
# model.append(None,{COLUMN_ICON: icon, COLUMN_NAME: name})
- n_columns = self.get_n_columns();
+ n_columns = self.get_n_columns()
if len(row) != n_columns:
raise ValueError('row sequence has the incorrect number of elements')
@@ -702,7 +701,7 @@ class TreeModel(Gtk.TreeModel):
self.set_value(treeiter, i, value)
def get(self, treeiter, *columns):
- n_columns = self.get_n_columns();
+ n_columns = self.get_n_columns()
values = []
for col in columns:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]