aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2012-02-14 13:06:16 +0000
committerJavier Jardón <javier.jardon@codethink.co.uk>2012-02-14 13:06:16 +0000
commit207267adc55aad9810afb4eb2e04ca86c4289f90 (patch)
tree2d4b454fde3dcd679f18c2829681fc1ef7e81581 /src
parent4a60cd5e9ad0384e5bed98a2d70e9c02832a4286 (diff)
downloadayatana-indicator-power-207267adc55aad9810afb4eb2e04ca86c4289f90.tar.gz
ayatana-indicator-power-207267adc55aad9810afb4eb2e04ca86c4289f90.tar.bz2
ayatana-indicator-power-207267adc55aad9810afb4eb2e04ca86c4289f90.zip
Use G_GNUC_CONST for indicator_power_get_type() to improve performance
Diffstat (limited to 'src')
-rw-r--r--src/indicator-power.c2
1 files changed, 1 insertions, 1 deletions
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)