summaryrefslogtreecommitdiffstats
path: root/src/tab.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.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.h')
-rw-r--r--src/tab.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tab.h b/src/tab.h
index 38e8828..3166fb9 100644
--- a/src/tab.h
+++ b/src/tab.h
@@ -19,6 +19,8 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+typedef struct MqTab MqTab;
+
#ifndef MQ_TAB_H
#define MQ_TAB_H
@@ -28,7 +30,7 @@
#include "tab-chrome.h"
#include "tab-body.h"
-typedef struct {
+struct MqTab {
MqApplication *application;
GtkWidget *container;
MqTabChrome *chrome;
@@ -41,7 +43,7 @@ typedef struct {
guint tab_position;
WebKitWebView *web_view;
GtkWidget *popover;
-} MqTab;
+};
MqTab *
mq_tab_new(MqApplication *application, gchar *uri);