summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 03:45:57 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 03:45:57 (EDT)
commitb4b22833e657afaced007b07909c997c16a7c292 (patch)
tree65f2661e108081de8240f63b2201cd00f9723ea9 /src
parent4fbe3788ecc5a497d7f3ed66775aca33616aa942 (diff)
downloadmarquee-b4b22833e657afaced007b07909c997c16a7c292.zip
marquee-b4b22833e657afaced007b07909c997c16a7c292.tar.gz
marquee-b4b22833e657afaced007b07909c997c16a7c292.tar.bz2
src/web-view-schemes/schemes.h: Forward declare MqWebViewScheme
Diffstat (limited to 'src')
-rw-r--r--src/web-view-schemes/schemes.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/web-view-schemes/schemes.h b/src/web-view-schemes/schemes.h
index 8366748..70df6d1 100644
--- a/src/web-view-schemes/schemes.h
+++ b/src/web-view-schemes/schemes.h
@@ -19,6 +19,8 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+typedef union _MqWebViewScheme MqWebViewScheme;
+
#ifndef MQ_WEB_VIEW_SCHEMES_H
#define MQ_WEB_VIEW_SCHEMES_H
@@ -34,9 +36,9 @@ typedef struct {
GFile *save_file;
} MqWebViewNormalScheme;
-typedef union {
+union _MqWebViewScheme {
MqWebViewNormalScheme normal;
-} MqWebViewScheme;
+};
typedef struct {
gchar * (*rewrite_uri) (MqWebViewScheme *, const gchar *);