From 6d0aaf470a2e8b189370eba8c30f0e7181fbd365 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 5 Sep 2013 09:31:06 +0200 Subject: stop using gtk_icon_info_free() It's been deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=707538 --- libempathy-gtk/empathy-log-window.c | 2 +- libempathy-gtk/empathy-theme-adium.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c index 7097616d7..3f897a0d4 100644 --- a/libempathy-gtk/empathy-log-window.c +++ b/libempathy-gtk/empathy-log-window.c @@ -377,7 +377,7 @@ insert_or_change_row (EmpathyLogWindow *self, if (icon_info != NULL) icon = g_strdup (gtk_icon_info_get_filename (icon_info)); - gtk_icon_info_free (icon_info); + g_object_unref (icon_info); } escaped_text = g_string_new (NULL); diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index ba359ceb1..652315949 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -1248,7 +1248,7 @@ empathy_theme_adium_edit_message (EmpathyThemeAdium *self, } g_free (style); - gtk_icon_info_free (icon_info); + g_object_unref (icon_info); } goto finally; -- cgit