[empathy] stop using gtk_icon_info_free()



commit 6d0aaf470a2e8b189370eba8c30f0e7181fbd365
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Sep 5 09:31:06 2013 +0200

    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 7097616..3f897a0 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 ba359ce..6523159 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]