summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-06-05 17:14:30 +0200
committerinfirit <[email protected]>2014-06-05 17:14:30 +0200
commitecd4ea6300405147d9a5c4f5afb3f9f46272cd4a (patch)
tree4af8ca56da843ce1f58633afc5df3d1400bc3c04
parent2007628b8b5bc43ceaabbbd3cfd7c9a3c37941ba (diff)
downloadlibmatekbd-ecd4ea6300405147d9a5c4f5afb3f9f46272cd4a.tar.bz2
libmatekbd-ecd4ea6300405147d9a5c4f5afb3f9f46272cd4a.tar.xz
Use g_object_unref also for Gtk+2
-rw-r--r--libmatekbd/matekbd-indicator-config.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libmatekbd/matekbd-indicator-config.c b/libmatekbd/matekbd-indicator-config.c
index 18bb994..d6c9201 100644
--- a/libmatekbd/matekbd-indicator-config.c
+++ b/libmatekbd/matekbd-indicator-config.c
@@ -162,11 +162,7 @@ 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;