From 463a385951ea996385b15bd0560785c1be75277c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 01 Nov 2017 21:40:48 -0400 Subject: MqApplication: Mark some functions as pure --- diff --git a/src/application.h b/src/application.h index c661af5..d1a3272 100644 --- a/src/application.h +++ b/src/application.h @@ -41,7 +41,7 @@ void mq_application_quit(MqApplication *application, GtkWindow *parent); MqConfig * -mq_application_get_config(MqApplication *application); +mq_application_get_config(MqApplication *application) G_GNUC_PURE; MqWindow * mq_application_add_window(MqApplication *application, const gchar **uris); @@ -59,7 +59,7 @@ MqTabPage * mq_application_get_tab(MqApplication *application, gint64 tab_id); const gchar * -mq_application_get_resources_dir(MqApplication *application); +mq_application_get_resources_dir(MqApplication *application) G_GNUC_PURE; void mq_application_marquee_mode_activate(MqApplication *application); @@ -68,6 +68,6 @@ void mq_application_marquee_mode_deactivate(MqApplication *application); gboolean -mq_application_marquee_mode_on(MqApplication *application); +mq_application_marquee_mode_on(MqApplication *application) G_GNUC_PURE; #endif -- cgit v0.9.1