aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-05 15:31:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-09-05 15:52:39 +0800
commit6d0aaf470a2e8b189370eba8c30f0e7181fbd365 (patch)
tree47a8d6c697498aabf01371e68f2550fb39ba8e7a
parent9f41e5eec7a8971dee4e76636dcdb4318083f6f3 (diff)
downloadgsoc2013-empathy-6d0aaf470a2e8b189370eba8c30f0e7181fbd365.tar
gsoc2013-empathy-6d0aaf470a2e8b189370eba8c30f0e7181fbd365.tar.gz
gsoc2013-empathy-6d0aaf470a2e8b189370eba8c30f0e7181fbd365.tar.bz2
gsoc2013-empathy-6d0aaf470a2e8b189370eba8c30f0e7181fbd365.tar.lz
gsoc2013-empathy-6d0aaf470a2e8b189370eba8c30f0e7181fbd365.tar.xz
gsoc2013-empathy-6d0aaf470a2e8b189370eba8c30f0e7181fbd365.tar.zst
gsoc2013-empathy-6d0aaf470a2e8b189370eba8c30f0e7181fbd365.zip
stop using gtk_icon_info_free()
It's been deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=707538
-rw-r--r--libempathy-gtk/empathy-log-window.c2
-rw-r--r--libempathy-gtk/empathy-theme-adium.c2
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;