diff options
author | Dan Williams <dcbw@redhat.com> | 2016-02-23 23:20:40 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2016-02-23 23:20:40 +0000 |
commit | 9f6d06885dd34c63faefeaeb79a057da7ccd7a81 (patch) | |
tree | 4a32e0c9de93d246ec4bf1b5a31b3c6522c3f938 /configure.ac | |
parent | a7274300ba0febe398bef6ac595d2a0722480fd6 (diff) | |
parent | 8c4c5b771919d336b88ac9adca647b212436cc8e (diff) | |
download | libdbusmenu-9f6d06885dd34c63faefeaeb79a057da7ccd7a81.tar.gz libdbusmenu-9f6d06885dd34c63faefeaeb79a057da7ccd7a81.tar.bz2 libdbusmenu-9f6d06885dd34c63faefeaeb79a057da7ccd7a81.zip |
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)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 81cbb99..ff12a43 100644 --- a/configure.ac +++ b/configure.ac @@ -67,7 +67,6 @@ AS_IF([test "x$with_gtk" = x3], glib-2.0 >= $GLIB_REQUIRED_VERSION, [have_gtk=yes] ) - AC_DEFINE(HAVE_GTK3, 1, [whether gtk3 is available]) ], [test "x$with_gtk" = x2], [PKG_CHECK_MODULES(DBUSMENUGTK, gtk+-2.0 >= $GTK_REQUIRED_VERSION |