summaryrefslogtreecommitdiffstats
path: root/src/tab-body.h
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-22 18:38:08 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-22 18:38:08 (EDT)
commit42bb81c25713086d541ee999b8b659c324542d6b (patch)
treea24975fa4ae5594b64ff1514caa47e6da70f295f /src/tab-body.h
parent49c1fda6ee9059192e3400521ebb13f3e34f7426 (diff)
downloadmarquee-42bb81c25713086d541ee999b8b659c324542d6b.zip
marquee-42bb81c25713086d541ee999b8b659c324542d6b.tar.gz
marquee-42bb81c25713086d541ee999b8b659c324542d6b.tar.bz2
src/tab*.h: Forward declare types
Diffstat (limited to 'src/tab-body.h')
-rw-r--r--src/tab-body.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tab-body.h b/src/tab-body.h
index 60d0975..e38f97c 100644
--- a/src/tab-body.h
+++ b/src/tab-body.h
@@ -19,16 +19,18 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+typedef struct MqTabBody MqTabBody;
+
#ifndef MQ_TAB_BODY_H
#define MQ_TAB_BODY_H
#include <gtk/gtk.h>
#include <webkit2/webkit2.h>
-typedef struct {
+struct MqTabBody {
GtkWidget *container;
WebKitWebView *web_view;
-} MqTabBody;
+};
MqTabBody *
mq_tab_body_new(gchar *uri);