aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-04-11 11:05:30 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-04-11 11:05:30 -0500
commit3dfbea7eeb3225b051db933c08e37af8236fdce3 (patch)
tree233a7a2220849d02da39de63f6982328ac7618c9 /src
parentdbcfa95ae39e04b2cb23245967bcfc6fa7b39612 (diff)
parent6d27b7d45570c729fd085ba014f08535d583cf12 (diff)
downloadayatana-indicator-messages-3dfbea7eeb3225b051db933c08e37af8236fdce3.tar.gz
ayatana-indicator-messages-3dfbea7eeb3225b051db933c08e37af8236fdce3.tar.bz2
ayatana-indicator-messages-3dfbea7eeb3225b051db933c08e37af8236fdce3.zip
Sync from Ubuntu Desktop
Diffstat (limited to 'src')
-rw-r--r--src/messages-service.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 8e85da2..1d86aa9 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -29,7 +29,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <libindicator/indicator-service.h>
#include <gio/gio.h>
#include <glib/gi18n.h>
-#include <gtk/gtk.h>
#include <libdbusmenu-glib/client.h>
#include <libdbusmenu-glib/server.h>
@@ -665,9 +664,7 @@ server_shortcut_added (AppMenuItem * appitem, DbusmenuMenuitem * mi, gpointer da
g_debug("Application Shortcut added: %s", mi != NULL ? dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL) : "none");
DbusmenuMenuitem * shell = DBUSMENU_MENUITEM(data);
if (mi != NULL) {
-#if GTK_CHECK_VERSION(3, 0, 0)
dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_ICON_NAME, "");
-#endif
dbusmenu_menuitem_child_append(shell, mi);
}
resort_menu(shell);