diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-22 18:38:08 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-22 18:38:08 (EDT) |
commit | 42bb81c25713086d541ee999b8b659c324542d6b (patch) | |
tree | a24975fa4ae5594b64ff1514caa47e6da70f295f /src/tab.h | |
parent | 49c1fda6ee9059192e3400521ebb13f3e34f7426 (diff) | |
download | marquee-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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |