Features/GTK3/Porting: Difference between revisions
Included sugar3, pango, gdk |
m edit grammar |
||
| Line 245: | Line 245: | ||
Following the release of Gtk3, we should not be importing pango like this: | Following the release of Gtk3, we should not be importing pango like this: | ||
import pango | import pango | ||
In fact, we | In fact, we can now import pango as an attribute within the gtk3 library: | ||
from gi.repository import Pango as pango | from gi.repository import Pango as pango | ||