From 670e6e0bffe139445192d920f3cfb38ea102858e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 22 Apr 2012 14:24:13 -0500 Subject: indiator_service_manager_new*()'s name arguments were gchar*, make them const gchar* --- libindicator/indicator-service-manager.c | 4 ++-- libindicator/indicator-service-manager.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libindicator') 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, -- cgit v1.2.3