Fix simple GTK+ deprecations

This commit is contained in:
Jasper St. Pierre
2013-09-10 17:11:16 -04:00
parent d46ceead04
commit d66e0a0b45
2 changed files with 3 additions and 3 deletions

View File

@ -266,7 +266,7 @@ shell_app_create_faded_icon_cpu (StTextureCache *cache,
return COGL_INVALID_HANDLE;
pixbuf = gtk_icon_info_load_icon (info, NULL);
gtk_icon_info_free (info);
g_object_unref (info);
if (pixbuf == NULL)
return COGL_INVALID_HANDLE;