[gnome-packagekit] Do not use the deprecated gtk_icon_info_free()



commit 0aa9e09e0a4e8f947a7cca931fb19b53e5aceb94
Author: Richard Hughes <richard hughsie com>
Date:   Fri Mar 1 14:20:12 2013 +0000

    Do not use the deprecated gtk_icon_info_free()

 src/gpk-desktop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-desktop.c b/src/gpk-desktop.c
index 1e44106..0dbc4b1 100644
--- a/src/gpk-desktop.c
+++ b/src/gpk-desktop.c
@@ -58,7 +58,7 @@ gpk_desktop_check_icon_valid (const gchar *icon)
                ret = FALSE;
        } else {
                /* we only used this to see if it was valid */
-               gtk_icon_info_free (icon_info);
+               g_object_unref (icon_info);
        }
        return ret;
 }


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