diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-22 15:51:51 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-22 15:51:51 (EDT) |
commit | effc206524295152c6bfe1f111ad39f75c549253 (patch) | |
tree | c8cdfdb38b096a11ce88132b5ba58a3a58151170 /src/window.h | |
parent | f87eade0e93389d742382b3e75a3a4e1c638b5dd (diff) | |
download | marquee-effc206524295152c6bfe1f111ad39f75c549253.zip marquee-effc206524295152c6bfe1f111ad39f75c549253.tar.gz marquee-effc206524295152c6bfe1f111ad39f75c549253.tar.bz2 |
src/application.h, src/window.h: Forward declare types
This is not legal in C99, but configure.ac will be changed to set the
standard to C11.
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 6 |
1 files changed, 4 insertions, 2 deletions
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); |