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-image-helper.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-image-helper.c')
-rw-r--r-- | libayatana-indicator/indicator-image-helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libayatana-indicator/indicator-image-helper.c b/libayatana-indicator/indicator-image-helper.c index 27c332f..2c0e244 100644 --- a/libayatana-indicator/indicator-image-helper.c +++ b/libayatana-indicator/indicator-image-helper.c @@ -136,7 +136,7 @@ refresh_image (GtkImage * image) /* Handles the theme changed signal to refresh the icon to make sure that it changes appropriately */ static void -theme_changed_cb (GtkIconTheme * theme, gpointer user_data) +theme_changed_cb (__attribute__((unused)) GtkIconTheme * theme, gpointer user_data) { GtkImage * image = GTK_IMAGE(user_data); refresh_image(image); @@ -146,7 +146,7 @@ theme_changed_cb (GtkIconTheme * theme, gpointer user_data) /* Removes the signal on the theme that was calling update on this image. */ static void -image_destroyed_cb (GtkImage * image, gpointer user_data) +image_destroyed_cb (GtkImage * image, __attribute__((unused)) gpointer user_data) { g_signal_handlers_disconnect_by_func(gtk_icon_theme_get_default(), theme_changed_cb, image); return; @@ -155,7 +155,7 @@ image_destroyed_cb (GtkImage * image, gpointer user_data) /* Catch the style changing on the image to make sure we've got the latest. */ static void -image_style_change_cb (GtkImage * image, GtkStyle * previous_style, gpointer user_data) +image_style_change_cb (GtkImage * image, __attribute__((unused)) GtkStyle * previous_style, __attribute__((unused)) gpointer user_data) { refresh_image(image); return; |