Skip to content

Commit

Permalink
Deprecations: Replace gtk_icon_info_free() with g_object_unref()
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephMcc committed Jul 11, 2015
1 parent bd398a8 commit c58bc9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cinnamon-app.c
Expand Up @@ -254,7 +254,7 @@ cinnamon_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;
Expand Down
2 changes: 1 addition & 1 deletion src/st/st-texture-cache.c
Expand Up @@ -1410,7 +1410,7 @@ create_faded_icon_cpu (StTextureCache *cache,
return NULL;

pixbuf = gtk_icon_info_load_icon (info, NULL);
gtk_icon_info_free (info);
g_object_unref (info);


if (pixbuf == NULL)
Expand Down

0 comments on commit c58bc9a

Please sign in to comment.