Merge lp:~smspillaz/unity/unity.fix_1180970 into lp:unity
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~smspillaz/unity/unity.fix_1180970 | ||||
Merge into: | lp:unity | ||||
Diff against target: |
220 lines (+52/-9) 9 files modified
CMakeLists.txt (+8/-0) config.h.cmake (+1/-0) dash/ResultRenderer.cpp (+3/-1) launcher/LauncherIcon.cpp (+4/-3) launcher/MockLauncherIcon.h (+3/-0) panel/PanelIndicatorEntryView.cpp (+2/-2) tests/test_icon_loader.cpp (+27/-0) tests/test_result_renderer.cpp (+2/-1) unity-shared/IconLoader.cpp (+2/-2) |
||||
To merge this branch: | bzr merge lp:~smspillaz/unity/unity.fix_1180970 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Sam Spilsbury (community) | Needs Resubmitting | ||
Ted Gould (community) | Needs Fixing | ||
Review via email: mp+164189@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-05-17.
Commit message
Use gtk_icon_info_free instead of g_object_unref
GtkIconInfo is a GObject, but callers are meant to free it with
gtk_icon_info_unref according to the documentation for it:
GtkIconInfo * gtk_icon_
Looks up a named icon and returns a structure containing information such
as the filename of the icon. The icon can then be rendered into a pixbuf
using gtk_icon_
these two steps if all you need is the pixbuf.)
...
Returns :
a GtkIconInfo structure containing information about the icon, or NULL if
the icon wasn't found. Free with gtk_icon_
(LP: #1180790)
Description of the change
Use gtk_icon_info_free instead of g_object_unref
GtkIconInfo is a GObject, but callers are meant to free it with
gtk_icon_info_unref according to the documentation for it:
GtkIconInfo * gtk_icon_
Looks up a named icon and returns a structure containing information such
as the filename of the icon. The icon can then be rendered into a pixbuf
using gtk_icon_
these two steps if all you need is the pixbuf.)
...
Returns :
a GtkIconInfo structure containing information about the icon, or NULL if
the icon wasn't found. Free with gtk_icon_
(LP: #1180790)
Actually it's deprecated:
https:/ /developer. gnome.org/ gtk3/stable/ GtkIconTheme. html#gtk- icon-info- free