aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-04-22 14:24:13 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-04-22 14:24:13 -0500
commit670e6e0bffe139445192d920f3cfb38ea102858e (patch)
treef42c5698cc7fb39c69ad64d01a27136856e836c7 /libindicator
parent1cbe9339719ccc2142e5635411ca4a08e0aded40 (diff)
downloadlibayatana-indicator-670e6e0bffe139445192d920f3cfb38ea102858e.tar.gz
libayatana-indicator-670e6e0bffe139445192d920f3cfb38ea102858e.tar.bz2
libayatana-indicator-670e6e0bffe139445192d920f3cfb38ea102858e.zip
indiator_service_manager_new*()'s name arguments were gchar*, make them const gchar*
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-service-manager.c4
-rw-r--r--libindicator/indicator-service-manager.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libindicator/indicator-service-manager.c b/libindicator/indicator-service-manager.c
index f58c148..a427954 100644
--- a/libindicator/indicator-service-manager.c
+++ b/libindicator/indicator-service-manager.c
@@ -636,7 +636,7 @@ start_service_again (IndicatorServiceManager * manager)
object.
*/
IndicatorServiceManager *
-indicator_service_manager_new (gchar * dbus_name)
+indicator_service_manager_new (const gchar * dbus_name)
{
GObject * obj = g_object_new(INDICATOR_SERVICE_MANAGER_TYPE,
PROP_NAME_S, dbus_name,
@@ -660,7 +660,7 @@ indicator_service_manager_new (gchar * dbus_name)
object.
*/
IndicatorServiceManager *
-indicator_service_manager_new_version (gchar * dbus_name, guint version)
+indicator_service_manager_new_version (const gchar * dbus_name, guint version)
{
GObject * obj = g_object_new(INDICATOR_SERVICE_MANAGER_TYPE,
PROP_NAME_S, dbus_name,
diff --git a/libindicator/indicator-service-manager.h b/libindicator/indicator-service-manager.h
index bf6d1b0..7d444c6 100644
--- a/libindicator/indicator-service-manager.h
+++ b/libindicator/indicator-service-manager.h
@@ -76,8 +76,8 @@ struct _IndicatorServiceManager {
GType indicator_service_manager_get_type (void);
-IndicatorServiceManager * indicator_service_manager_new (gchar * dbus_name);
-IndicatorServiceManager * indicator_service_manager_new_version (gchar * dbus_name,
+IndicatorServiceManager * indicator_service_manager_new (const gchar * dbus_name);
+IndicatorServiceManager * indicator_service_manager_new_version (const gchar * dbus_name,
guint version);
gboolean indicator_service_manager_connected (IndicatorServiceManager * sm);
void indicator_service_manager_set_refresh (IndicatorServiceManager * sm,