From a7f829a8dcfe7da13a1f71c9898df5cccff48ec3 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Wed, 01 Nov 2017 22:00:04 -0400 Subject: MqTabPage: Mark some functions as pure --- diff --git a/src/tab-page.h b/src/tab-page.h index 1737b59..1bb2b0c 100644 --- a/src/tab-page.h +++ b/src/tab-page.h @@ -63,19 +63,19 @@ void mq_tab_page_quit(MqTabPage *tab_page); MqApplication * -mq_tab_page_get_application(MqTabPage *tab_page); +mq_tab_page_get_application(MqTabPage *tab_page) G_GNUC_PURE; MqWindow * -mq_tab_page_get_window(MqTabPage *tab_page); +mq_tab_page_get_window(MqTabPage *tab_page) G_GNUC_PURE; MqTabLabel * mq_tab_page_get_label(MqTabPage *tab_page); guint64 -mq_tab_page_get_id(MqTabPage *tab_page); +mq_tab_page_get_id(MqTabPage *tab_page) G_GNUC_PURE; guint -mq_tab_page_get_position(MqTabPage *tab_page); +mq_tab_page_get_position(MqTabPage *tab_page) G_GNUC_PURE; void mq_tab_page_set_position(MqTabPage *tab_page, guint position); @@ -84,7 +84,7 @@ MqWebView * mq_tab_page_get_web_view(MqTabPage *tab_page); const gchar * -mq_tab_page_get_title(MqTabPage *tab_page); +mq_tab_page_get_title(MqTabPage *tab_page) G_GNUC_PURE; void mq_tab_page_scroll_tab_labels(MqTabPage *node); -- cgit v0.9.1