In the Copy dialog, the Copy icon was shown as a broken icon. Reverting
from gtk_image_new_from_icon_name() to gtk_image_new_from_stock() solves
the problem. I do not know why.
button = gtk_button_new();
button = gtk_button_new();
- if (stock_id) image = gtk_image_new_from_icon_name(stock_id, GTK_ICON_SIZE_BUTTON);
+ if (stock_id)
+ {
+ image = gtk_image_new_from_stock(stock_id, GTK_ICON_SIZE_BUTTON);
+ }
+
if (text)
{
label = gtk_label_new_with_mnemonic(text);
if (text)
{
label = gtk_label_new_with_mnemonic(text);