summaryrefslogtreecommitdiffstats
path: root/src/gtk2_in_qt4.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-22 15:55:03 +0100
committerDavid Robillard <d@drobilla.net>2020-12-22 16:23:24 +0100
commit5ea33cc003ce4d3ef68e3b6e954c841f21db8efb (patch)
tree97d8955ed08faa70ca95958a3bb9ed5914c11ac3 /src/gtk2_in_qt4.cpp
parent2769f3eadd6de75a2571b9c857509a76f7652205 (diff)
downloadsuil-5ea33cc003ce4d3ef68e3b6e954c841f21db8efb.tar.gz
suil-5ea33cc003ce4d3ef68e3b6e954c841f21db8efb.tar.bz2
suil-5ea33cc003ce4d3ef68e3b6e954c841f21db8efb.zip
Avoid "typedef" in C++
Diffstat (limited to 'src/gtk2_in_qt4.cpp')
-rw-r--r--src/gtk2_in_qt4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp
index c13561e..2bb3a03 100644
--- a/src/gtk2_in_qt4.cpp
+++ b/src/gtk2_in_qt4.cpp
@@ -27,7 +27,7 @@
extern "C" {
-typedef struct _SuilGtk2InQt4Wrapper SuilGtk2InQt4Wrapper;
+using SuilGtk2InQt4Wrapper = _SuilGtk2InQt4Wrapper;
struct _SuilGtk2InQt4Wrapper {
QX11EmbedContainer* host_widget;