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:
Alx Sa 2024-11-02 23:26:18 +00:00
parent 3c1c4e7326
commit 9b23c35c30
1 changed files with 2 additions and 1 deletions

View File

@ -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