[gnome-music] Don't use outdated GObject: use GLib, Luke!
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Don't use outdated GObject: use GLib, Luke!
- Date: Mon, 12 May 2014 08:46:07 +0000 (UTC)
commit b22e72fbbdccde73dce22ccd6c323bee1098f0b5
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Tue Apr 8 14:13:35 2014 +0200
Don't use outdated GObject: use GLib, Luke!
gnomemusic/searchbar.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/searchbar.py b/gnomemusic/searchbar.py
index cd44af3..1f57a8e 100644
--- a/gnomemusic/searchbar.py
+++ b/gnomemusic/searchbar.py
@@ -1,4 +1,4 @@
-from gi.repository import Gtk, Gd, GObject, Pango
+from gi.repository import Gtk, Gd, GObject, Pango, GLib
from gnomemusic.grilo import grilo
from gnomemusic import log
import logging
@@ -233,8 +233,8 @@ class Searchbar(Gd.Revealer):
def search_entry_timeout(self, widget):
if self.timeout:
- GObject.source_remove(self.timeout)
- self.timeout = GObject.timeout_add(500, self.search_entry_changed, widget)
+ GLib.source_remove(self.timeout)
+ self.timeout = GLib.timeout_add(500, self.search_entry_changed, widget)
@log
def search_entry_changed(self, widget):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]