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/application.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/application.h')
-rw-r--r-- | src/application.h | 6 |
1 files changed, 4 insertions, 2 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); |