[gnome-lirc-properties] Fix GtkBuilder run-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-lirc-properties] Fix GtkBuilder run-time warning
- Date: Mon, 17 May 2010 13:39:14 +0000 (UTC)
commit 4dbc3ba4fda6ec8e3886315919c0c6d22c76ac29
Author: Bastien Nocera <hadess hadess net>
Date: Mon May 17 14:08:38 2010 +0100
Fix GtkBuilder run-time warning
GtkWarning: No object called:
An adjustment property was used, but not set. We don't actually
need it.
data/gnome-lirc-properties.ui | 1 -
gnome_lirc_properties/__init__.py | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/data/gnome-lirc-properties.ui b/data/gnome-lirc-properties.ui
index dbe9ee1..4efbd36 100644
--- a/data/gnome-lirc-properties.ui
+++ b/data/gnome-lirc-properties.ui
@@ -168,7 +168,6 @@
<object class="GtkSpinButton" id="spinbutton_device">
<property name="can_focus">True</property>
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="adjustment"></property>
<signal name="value-changed" handler="_on_spinbutton_device_value_changed" swapped="no"/>
</object>
</child>
diff --git a/gnome_lirc_properties/__init__.py b/gnome_lirc_properties/__init__.py
index 80ed8b0..f9825e3 100644
--- a/gnome_lirc_properties/__init__.py
+++ b/gnome_lirc_properties/__init__.py
@@ -54,6 +54,6 @@ def run(args, datadir):
# Load the user interface:
ui_filename = os.path.join(datadir, 'gnome-lirc-properties.ui')
- builder = gtk.Builder();
+ builder = gtk.Builder()
builder.add_from_file(ui_filename)
return ui.RemoteControlProperties(builder, datadir).run()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]