aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorLuke Yelavich <luke.yelavich@canonical.com>2011-02-01 17:49:23 +1100
committerLuke Yelavich <luke.yelavich@canonical.com>2011-02-01 17:49:23 +1100
commit855d3545376a037fc73712ac5879e4130783b3b1 (patch)
tree24acdc2258bb8364bf365b1a718d5f6b0657644b /libindicator
parentd50d1bb0886d104ffd077956bdf651cd3a3d1af4 (diff)
downloadlibayatana-indicator-855d3545376a037fc73712ac5879e4130783b3b1.tar.gz
libayatana-indicator-855d3545376a037fc73712ac5879e4130783b3b1.tar.bz2
libayatana-indicator-855d3545376a037fc73712ac5879e4130783b3b1.zip
use const gchar for variable and prototype
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-object.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index ea303f8..b79aef4 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -102,7 +102,7 @@ struct _IndicatorObjectClass {
GtkLabel * (*get_label) (IndicatorObject * io);
GtkImage * (*get_image) (IndicatorObject * io);
GtkMenu * (*get_menu) (IndicatorObject * io);
- gchar * (*get_accessible_name) (IndicatorObject * io);
+ const gchar * (*get_accessible_name) (IndicatorObject * io);
GList * (*get_entries) (IndicatorObject * io);
guint (*get_location) (IndicatorObject * io, IndicatorObjectEntry * entry);
@@ -151,7 +151,7 @@ struct _IndicatorObjectEntry {
GtkLabel * label;
GtkImage * image;
GtkMenu * menu;
- gchar * accessible_name;
+ const gchar * accessible_name;
};
GType indicator_object_get_type (void);