~dbusmenu-team/libdbusmenu/trunk.16.10

Viewing all changes in revision 479.

  • Committer: CI Train Bot
  • Author(s): Dan Williams
  • Date: 2016-02-23 23:20:40 UTC
  • mfrom: (477.2.2 libdbusmenu)
  • Revision ID: ci-train-bot@canonical.com-20160223232040-tffvk3y0pll2idgp
gtk: look for GtkImages on regular GtkMenuItems too

GtkImageMenuItem is deprecated, and the recommended replacement
is a normal GtkMenuItem packed manually with a label and an image.
To ensure applications that use recommended GTK practices can still
show menu item images, check the children of a normal GtkMenuItem
for a GtkImage too, just like is done for the label child. Fixes: #1549021
Approved by: Marco Trevisan (Treviño)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: