summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/application.h6
-rw-r--r--src/window.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/application.h b/src/application.h
index 4c56c43..a717e7e 100644
--- a/src/application.h
+++ b/src/application.h
@@ -19,6 +19,8 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+typedef struct MqApplication MqApplication;
+
#ifndef MQ_APPLICATION_H
#define MQ_APPLICATION_H
@@ -26,9 +28,9 @@
#include "window.h"
-typedef struct {
+struct MqApplication {
guint window_count;
-} MqApplication;
+};
MqApplication *
mq_application_new(gchar *profile, gboolean private);
diff --git a/src/window.h b/src/window.h
index 8651355..6a7dab6 100644
--- a/src/window.h
+++ b/src/window.h
@@ -19,6 +19,8 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+typedef struct MqWindow MqWindow;
+
#ifndef MQ_WINDOW_H
#define MQ_WINDOW_H
@@ -26,10 +28,10 @@
#include "application.h"
-typedef struct {
+struct MqWindow {
GtkWidget *window;
GtkWidget *notebook;
-} MqWindow;
+};
MqWindow *
mq_window_new(MqApplication *application, gchar **uris);