[libgda/gtk3] Avoid execution warning if Goocanvas is not found
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/gtk3] Avoid execution warning if Goocanvas is not found
- Date: Mon, 28 Feb 2011 17:40:59 +0000 (UTC)
commit f44afde689624b49c2536f6e4838b382fc7c3543
Author: Vivien Malerba <malerba gnome-db org>
Date: Mon Feb 28 18:25:43 2011 +0100
Avoid execution warning if Goocanvas is not found
.../schema-browser/schema-browser-perspective.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/browser/schema-browser/schema-browser-perspective.c b/tools/browser/schema-browser/schema-browser-perspective.c
index 26c7d73..14a4fcf 100644
--- a/tools/browser/schema-browser/schema-browser-perspective.c
+++ b/tools/browser/schema-browser/schema-browser-perspective.c
@@ -332,11 +332,13 @@ static const gchar *ui_actions_info =
" <menu name='Display' action='Display'>"
" <menuitem name='SchemaBrowserFavoritesShow' action='SchemaBrowserFavoritesShow'/>"
" </menu>"
+#ifdef HAVE_GOOCANVAS
" <placeholder name='MenuExtension'>"
" <menu name='Schema' action='Schema'>"
" <menuitem name='NewDiagram' action= 'NewDiagram'/>"
" </menu>"
" </placeholder>"
+#endif
" </menubar>"
"</ui>";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]