mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -306,7 +306,8 @@ gimp_icons_init (void)
|
||||||
|
|
||||||
if (pixbuf)
|
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);
|
g_object_unref (pixbuf);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue