Merge lp:~sinzui/bzr-dbus/gtk3-support into lp:bzr-dbus
Status: | Merged |
---|---|
Merged at revision: | 52 |
Proposed branch: | lp:~sinzui/bzr-dbus/gtk3-support |
Merge into: | lp:bzr-dbus |
Diff against target: |
305 lines (+68/-34) 3 files modified
activity.py (+8/-6) setup.py (+32/-4) tests/test_activity.py (+28/-24) |
To merge this branch: | bzr merge lp:~sinzui/bzr-dbus/gtk3-support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | Approve | ||
Review via email: mp+90952@code.launchpad.net |
Description of the change
Update bzr-dbus to work with gtk3.
I see this error when I run gci from the command line or from
gedit-developer
/usr/lib/
Warning: g_boxed_
assertion `g_type_from_name (name) == 0' failed
import gobject._gobject
This is harmless from the command line, but when the code is embedded,
the whole app becomes unstable and is likely to crash the next time any
call to bzr-gtk is made.
I traced the issue to an import of gobject in bzr-dbus:
Traceback (most recent call last):
File "/usr/lib/
...
File "/usr/lib/
import gobject
File "/usr/lib/
from gobject.constants import *
-------
RULES
* Try to import from gi.repository and fallback for gobject.
* Update the existing calls to gobject to use GObject, the
three member calls are compatible with GObject.
* ADDENDUM
* Added a 'check' command to setup.py to run the tests
* tests.test_
trunk and my branch. I do not know what I can do to fix
the test or the code to make it pass. The server fails to
start.`
QA
* Using bzr-gtk trunk run `bzr gci` in a tree with changes.
* Verify a warnging is not displayed on the commmand line
Warning: g_boxed_
TEST
./setup.py check
Thanks again Curtis!