diff options
-rw-r--r-- | libmatekbd/matekbd-indicator-config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmatekbd/matekbd-indicator-config.c b/libmatekbd/matekbd-indicator-config.c index d6c9201..18bb994 100644 --- a/libmatekbd/matekbd-indicator-config.c +++ b/libmatekbd/matekbd-indicator-config.c @@ -162,7 +162,11 @@ matekbd_indicator_config_get_images_file (MatekbdIndicatorConfig * if (icon_info != NULL) { image_file = g_strdup (gtk_icon_info_get_filename (icon_info)); +#if GTK_CHECK_VERSION (3, 8, 0) g_object_unref (icon_info); +#else + gtk_icon_info_free (icon_info); +#endif } return image_file; |