diff options
author | Luke Yelavich <luke.yelavich@canonical.com> | 2011-02-01 17:49:23 +1100 |
---|---|---|
committer | Luke Yelavich <luke.yelavich@canonical.com> | 2011-02-01 17:49:23 +1100 |
commit | 855d3545376a037fc73712ac5879e4130783b3b1 (patch) | |
tree | 24acdc2258bb8364bf365b1a718d5f6b0657644b /tests | |
parent | d50d1bb0886d104ffd077956bdf651cd3a3d1af4 (diff) | |
download | libayatana-indicator-855d3545376a037fc73712ac5879e4130783b3b1.tar.gz libayatana-indicator-855d3545376a037fc73712ac5879e4130783b3b1.tar.bz2 libayatana-indicator-855d3545376a037fc73712ac5879e4130783b3b1.zip |
use const gchar for variable and prototype
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dummy-indicator-null.c | 2 | ||||
-rw-r--r-- | tests/dummy-indicator-signaler.c | 2 | ||||
-rw-r--r-- | tests/dummy-indicator-simple.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/dummy-indicator-null.c b/tests/dummy-indicator-null.c index acebdb8..34adf58 100644 --- a/tests/dummy-indicator-null.c +++ b/tests/dummy-indicator-null.c @@ -46,7 +46,7 @@ get_menu (IndicatorObject * io) { return NULL; } -gchar * +const gchar * get_accessible_name (IndicatorObject * io) { return NULL; diff --git a/tests/dummy-indicator-signaler.c b/tests/dummy-indicator-signaler.c index 7dbe704..bb70d1e 100644 --- a/tests/dummy-indicator-signaler.c +++ b/tests/dummy-indicator-signaler.c @@ -50,7 +50,7 @@ get_menu (IndicatorObject * io) return main_menu; } -gchar * +const gchar * get_accessible_name (IndicatorObject * io) { return "Signaler Item"; diff --git a/tests/dummy-indicator-simple.c b/tests/dummy-indicator-simple.c index 0bbcde6..9a5cbbd 100644 --- a/tests/dummy-indicator-simple.c +++ b/tests/dummy-indicator-simple.c @@ -50,7 +50,7 @@ get_menu (IndicatorObject * io) return main_menu; } -gchar * +const gchar * get_accessible_name (IndicatorObject * io) { return "Simple Item"; |