summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-10-14 19:00:46 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-10-14 19:00:46 +0100
commitbfab2004b38f10706d1d2c5b69f68a0bca93bb4c (patch)
treeef42c3f23827b5797f6887a31045d7f7103260a7 /vcl/unx
parent642204067c6217190074a560106b3e238c9d9a73 (diff)
fix build against glib < 2.36 (w/o gmenu) again
Change-Id: I01a76e0cf19e11609a2f414bf754f3034b298b2d
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/app/gtkdata.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx
index 7c2db5ead1fb..6dc0cbf305cd 100644
--- a/vcl/unx/gtk/app/gtkdata.cxx
+++ b/vcl/unx/gtk/app/gtkdata.cxx
@@ -1021,6 +1021,7 @@ void GtkSalDisplay::deregisterFrame( SalFrame* pFrame )
#if GTK_CHECK_VERSION(3,0,0)
void GtkSalDisplay::RefreshMenusUnity()
{
+#ifdef ENABLE_GMENU_INTEGRATION
for(auto pSalFrame : m_aFrames) {
auto pGtkSalFrame( static_cast<GtkSalFrame*>(pSalFrame));
GtkSalMenu* pSalMenu = static_cast<GtkSalMenu*>(pGtkSalFrame->GetMenu());
@@ -1029,7 +1030,7 @@ void GtkSalDisplay::RefreshMenusUnity()
pSalMenu->UpdateFull();
}
}
-
+#endif
}
#endif