I had not thought of trying an empty string, though it's good to know that this is the usual answer to nullptr's that have become objects.
However, it does not have a constructor taking an std::nullptr_t, which would be a more obvious way to do it, one could then call:entry.set_icon_from_pixbuf(nullptr); This models the way that std::shared_ptr works, and IMHO it's more declarative. It should be a simple one-liner to fix this, I'll see about creating a patch for this later.