Features/GTK3/Porting: Difference between revisions

Emilyo11 (talk | contribs)
Included sugar3, pango, gdk
Emilyo11 (talk | contribs)
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 ca now import pango as an attribute within the gtk3 library:
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