Menu

#8 [PATCH] Fix build with recent gtk+extra versions

CVS
closed-accepted
None
5
2014-12-04
2011-07-15
No

Recent gtk+extra versions have changed one type macro from GTK_TYPE_ITEM_ENTRY to G_TYPE_ITEM_ENTRY. The attached patch modifies python-gtkextra to be able to handle both variants.

Note that simply replacing GTK_TYPE_ITEM_ENTRY by G_TYPE_ITEM_ENTRY in the type definition file doesn't work: the pygobject2 "compiler" assumes that it can get a macro for casting by removing _TYPE_, i.e. G_ITEM_ENTRY() - but gtk+extra has not renamed the casting macro.

Discussion

  • Roy Rankin

    Roy Rankin - 2014-12-04
    • status: open --> closed-accepted
    • assigned_to: Roy Rankin
    • Group: --> CVS
     
  • Roy Rankin

    Roy Rankin - 2014-12-04

    accepted

     

Log in to post a comment.