@b4n: please fell free to reject this PR is it's to ugly for you :grinning:
All the functions in the ```if```-condition the code part below seem to not
have any replacement functions which colud be of help.
``` C
if (GTK_IS_IMAGE_MENU_ITEM (node->data) &&
gtk_image_menu_item_get_use_stock (node->data) &&
gtk_stock_lookup (gtk_menu_item_get_label (node->data), &item)) {
item_label = g_strdup (item.label);
use_underline = TRUE;
} else {
item_label = g_strdup (gtk_menu_item_get_label (node->data));
use_underline = gtk_menu_item_get_use_underline (node->data);
}
```
So I have written a function which returns the required info. Why am I getting
that stock-id's at all under GTK3? Is the geany core still using them on GTK3?
Also a little question regarding the plugin API: as the utils lib is not a
registered plugin - how can I get a callback on closing of geany to free the
memory allocated for the utils lib?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/865#issuecomment-493673620