From 207267adc55aad9810afb4eb2e04ca86c4289f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 14 Feb 2012 13:06:16 +0000 Subject: Use G_GNUC_CONST for indicator_power_get_type() to improve performance --- src/indicator-power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indicator-power.c b/src/indicator-power.c index 84bd4c1..3980988 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -85,7 +85,7 @@ struct _IndicatorPower GSettings *settings; }; -GType indicator_power_get_type (void); +GType indicator_power_get_type (void) G_GNUC_CONST; INDICATOR_SET_VERSION INDICATOR_SET_TYPE (INDICATOR_POWER_TYPE) -- cgit v1.2.3