mirror of https://github.com/GNOME/gimp.git
libgimpwidgets: Replaced deprecated gtk_icon_theme_add_builtin_icon ()...
...with gtk_icon_theme_add_resource_path (). Per Wormnest in !1027, this function might not even be necessary at all. But until removing it can be completely tested, this patch at least removes the deprecation warning for GIMP 3.0 RC1.
This commit is contained in:
parent
3c1c4e7326
commit
9b23c35c30
|
@ -306,7 +306,8 @@ gimp_icons_init (void)
|
|||
|
||||
if (pixbuf)
|
||||
{
|
||||
gtk_icon_theme_add_builtin_icon (GIMP_ICON_WILBER_EEK, 64, pixbuf);
|
||||
gtk_icon_theme_add_resource_path (gtk_icon_theme_get_default (),
|
||||
"/org/gimp/icons/64/gimp-wilber-eek.png");
|
||||
g_object_unref (pixbuf);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue