summaryrefslogtreecommitdiffstats
path: root/src/application.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-07 15:41:01 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-07 15:41:01 (EDT)
commitffa635fee01ea832b956700c3d7ab62a80b8b6f8 (patch)
treef09140e7555c6683acb55f1048ee30aeb46332a5 /src/application.c
parent961ae14eda6918cc10f12c1e82b2109b5de377b8 (diff)
downloadmarquee-ffa635fee01ea832b956700c3d7ab62a80b8b6f8.zip
marquee-ffa635fee01ea832b956700c3d7ab62a80b8b6f8.tar.gz
marquee-ffa635fee01ea832b956700c3d7ab62a80b8b6f8.tar.bz2
s/__attribute__((unused))/G_GNUC_UNUSED/
And rewrap lines. G_GNUC_UNUSED expands to nothing on compilers other than GCC 2.4+.
Diffstat (limited to 'src/application.c')
-rw-r--r--src/application.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/application.c b/src/application.c
index 17c98c5..c553bc1 100644
--- a/src/application.c
+++ b/src/application.c
@@ -50,8 +50,7 @@ set_webkit_settings(MqApplication *application)
}
MqApplication *
-mq_application_new(gchar __attribute__((unused)) *profile,
- gboolean __attribute__((unused)) private)
+mq_application_new(gchar G_GNUC_UNUSED *profile, gboolean G_GNUC_UNUSED private)
{
MqApplication *application;
@@ -67,7 +66,7 @@ mq_application_new(gchar __attribute__((unused)) *profile,
}
int
-mq_application_main(MqApplication __attribute__((unused)) *application)
+mq_application_main(MqApplication G_GNUC_UNUSED *application)
{
gtk_main();