diff options
author | Robert Tari <robert@tari.in> | 2021-05-04 17:49:03 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-05-04 17:49:03 +0200 |
commit | d68a7de3d6b359db7b1673108cb2aec6edb6afd5 (patch) | |
tree | ca5f4477f6bdf9db6ed2efe82f176908c81e8026 /libayatana-indicator/indicator-service-manager.c | |
parent | 5cd5b0c2dfd155fce79333eea4349b4f037a0539 (diff) | |
parent | f2b0b013de253f5eddeacbae718f0b8e19fcc8f7 (diff) | |
download | libayatana-indicator-d68a7de3d6b359db7b1673108cb2aec6edb6afd5.tar.gz libayatana-indicator-d68a7de3d6b359db7b1673108cb2aec6edb6afd5.tar.bz2 libayatana-indicator-d68a7de3d6b359db7b1673108cb2aec6edb6afd5.zip |
Merge branch 'sunweaver-pr/travis-ci'
Attributes GH PR #42: https://github.com/AyatanaIndicators/libayatana-indicator/pull/42
Diffstat (limited to 'libayatana-indicator/indicator-service-manager.c')
-rw-r--r-- | libayatana-indicator/indicator-service-manager.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libayatana-indicator/indicator-service-manager.c b/libayatana-indicator/indicator-service-manager.c index e1772fa..33bcba9 100644 --- a/libayatana-indicator/indicator-service-manager.c +++ b/libayatana-indicator/indicator-service-manager.c @@ -286,7 +286,6 @@ set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec case PROP_NAME: if (priv->name != NULL) { g_error("Name can not be set twice!"); - return; } priv->name = g_value_dup_string(value); start_service(self); @@ -450,7 +449,7 @@ start_service (IndicatorServiceManager * service) could include starting the service. Sometime it'll fail and we'll try to start that dang service again! */ static void -service_proxy_cb (GObject * object, GAsyncResult * res, gpointer user_data) +service_proxy_cb (__attribute__((unused)) GObject * object, GAsyncResult * res, gpointer user_data) { GError * error = NULL; @@ -524,9 +523,12 @@ service_proxy_cb (GObject * object, GAsyncResult * res, gpointer user_data) usually means the service died. We're dropping the proxy and recreating it so that it'll restart the service. */ static void -service_proxy_name_changed (GDBusConnection * connection, const gchar * sender_name, - const gchar * object_path, const gchar * interface_name, - const gchar * signal_name, GVariant * parameters, +service_proxy_name_changed (__attribute__((unused)) GDBusConnection * connection, + __attribute__((unused)) const gchar * sender_name, + __attribute__((unused)) const gchar * object_path, + __attribute__((unused)) const gchar * interface_name, + __attribute__((unused)) const gchar * signal_name, + GVariant * parameters, gpointer user_data) { @@ -695,7 +697,7 @@ indicator_service_manager_connected (IndicatorServiceManager * sm) NOTE: Not yet implemented. */ void -indicator_service_manager_set_refresh (IndicatorServiceManager * sm, guint time_in_ms) +indicator_service_manager_set_refresh (__attribute__((unused)) IndicatorServiceManager * sm, __attribute__((unused)) guint time_in_ms) { return; |