pidgin/pidgin

Parents 84e48180ef67
Children 0c1c063d71f6
Replace gtk_image_new_from_stock with gtk_image_new_from_icon_name

I grepped through the code and no one is passing anything other than NULL, but
the function was still calling the deprecated function.

Testing Done:
Ran the unit tests and verified the menus in the blist and convwindow were still working.

Reviewed at https://reviews.imfreedom.org/r/1001/
--- a/pidgin/gtkutils.c Mon Oct 04 03:30:49 2021 -0500
+++ b/pidgin/gtkutils.c Wed Oct 06 04:12:07 2021 -0500
@@ -165,7 +165,7 @@
if (icon) {
GtkWidget *image;
- image = gtk_image_new_from_stock(icon, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name(icon, GTK_ICON_SIZE_MENU);
gtk_container_add(GTK_CONTAINER(box), image);
}