summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/gtkapplication_x11.c
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-01-15 01:59:56 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-01-15 01:59:56 +0000
commit15bb3b577ec9a8cb50758c4b017718e342a2439c (patch)
tree293407ebe738cfc3378335a82cb69e75751e9e73 /libs/gtkmm2ext/gtkapplication_x11.c
parent496a2da48f8a02a4be7761f0da6eb0b3828ee68b (diff)
rework "ige_mac" menubar integration from Carbon to Cocoa; recast as start of GtkApplication object as per discussions on #gtk+; associated changes in ardour; NOT TESTED ON X11, LEOPARD or SNOW LEOPARD
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6493 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/gtkapplication_x11.c')
-rw-r--r--libs/gtkmm2ext/gtkapplication_x11.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/gtkapplication_x11.c b/libs/gtkmm2ext/gtkapplication_x11.c
new file mode 100644
index 0000000000..ccd2caa2cb
--- /dev/null
+++ b/libs/gtkmm2ext/gtkapplication_x11.c
@@ -0,0 +1,48 @@
+/* GTK+ Integration with platform-specific application-wide features
+ * such as the OS X menubar and application delegate concepts (for X11)
+ *
+ * Copyright (C) 2007 Pioneer Research Center USA, Inc.
+ * Copyright (C) 2007 Imendio AB
+ * Copyright (C) 2009 Paul Davis
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; version 2.1
+ * of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#include <gtkmm2ext/gtkapplication.h>
+
+int
+gtk_application_init ()
+{
+ return 0;
+}
+
+void gtk_application_cleanup ()
+{
+}
+
+void
+gtk_application_set_menu_bar (GtkMenuShell *menu_shell)
+{
+}
+
+void
+gtk_application_add_app_menu_item (GtkApplicationMenuGroup *group,
+ GtkMenuItem *menu_item,
+ const gchar *label)
+{
+}
+
+