~mvo/software-center/packagekit-backend

« back to all changes in this revision

Viewing changes to softwarecenter/ui/gtk/widgets/searchentry.py

  • Committer: Martin Pitt
  • Date: 2011-08-17 11:44:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2113.
  • Revision ID: martin.pitt@ubuntu.com-20110817114431-gfuhnbeff4txnwnr
All files: Do not import the gi.repository.GObject module with static
bindings like gtk, and vice versa. It is brittle now, and breaking with
newer pygobject versions like 2.90.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
# Place, Suite 330, Boston, MA 02111-1307 USA
23
23
 
24
24
import gtk
25
 
from gi.repository import GObject
 
25
import gobject as GObject
26
26
 
27
27
from gettext import gettext as _
28
28