-#define EV_ADD_STOCK_ICON(id, file, def_id) \
-{ \
- GdkPixbuf *pixbuf; \
- GtkIconSet *icon_set = NULL; \
- pixbuf = gdk_pixbuf_new_from_file (GNOMEICONDIR "/evince/" file, NULL); \
- if (pixbuf) { \
- icon_set = gtk_icon_set_new_from_pixbuf (pixbuf); \
- } else if (def_id) { \
- icon_set = gtk_icon_factory_lookup_default (def_id); \
- gtk_icon_set_ref (icon_set); \
- } \
- gtk_icon_factory_add (factory, id, icon_set); \
- gtk_icon_set_unref (icon_set); \
-}