[vte] widget: Add gtk glue
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] widget: Add gtk glue
- Date: Wed, 2 Dec 2020 15:35:33 +0000 (UTC)
commit 7b896c47b85a4919e1466766bf49bd73821d0c0a
Author: Christian Persch <chpe src gnome org>
Date: Wed Dec 2 16:35:26 2020 +0100
widget: Add gtk glue
src/gtk-glue.hh | 30 ++++++++++++++++++++++++++++++
src/meson.build | 6 +++++-
2 files changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/src/gtk-glue.hh b/src/gtk-glue.hh
new file mode 100644
index 00000000..9a2e2959
--- /dev/null
+++ b/src/gtk-glue.hh
@@ -0,0 +1,30 @@
+/*
+ * Copyright © 2020 Christian Persch
+ *
+ * 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; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * 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 General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "std-glue.hh"
+
+namespace vte::gtk {
+
+} // namespace vte::gtk
+
+namespace vte {
+
+VTE_DECLARE_FREEABLE(GtkTargetList, gtk_target_list_unref);
+
+} // namespace vte
diff --git a/src/meson.build b/src/meson.build
index d0ea6794..208e93a0 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -32,6 +32,10 @@ glib_glue_sources = files(
'glib-glue.hh',
)
+gtk_glue_sources = files(
+ 'gtk-glue.hh',
+)
+
icu_sources = files(
'icu-converter.cc',
'icu-converter.hh',
@@ -135,7 +139,7 @@ utf8_sources = files(
'utf8.hh',
)
-libvte_common_sources = config_sources + debug_sources + glib_glue_sources + libc_glue_sources +
modes_sources + pango_glue_sources + parser_sources + pcre2_glue_sources + pty_sources + refptr_sources +
regex_sources + std_glue_sources + utf8_sources + files(
+libvte_common_sources = config_sources + debug_sources + glib_glue_sources + gtk_glue_sources +
libc_glue_sources + modes_sources + pango_glue_sources + parser_sources + pcre2_glue_sources + pty_sources +
refptr_sources + regex_sources + std_glue_sources + utf8_sources + files(
'attr.hh',
'bidi.cc',
'bidi.hh',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]