diff --git a/gnucash/import-export/import-backend.cpp b/gnucash/import-export/import-backend.cpp index 5fbf9a082a5..b89db7ce616 100644 --- a/gnucash/import-export/import-backend.cpp +++ b/gnucash/import-export/import-backend.cpp @@ -405,6 +405,33 @@ GdkPixbuf* gen_probability_pixbuf(gint score_original, GNCImportSettings *settin return retval; } +GdkPixbuf* gen_warning_pixbuf () +{ + static const char* warning_xpm[] = { + "16 16 3 1", + " c None", + ". c #000000", + "+ c #CCCC00", + " ", + " .. ", + " .. ", + " .++. ", + " .++. ", + " .++++. ", + " .++++. ", + " .++..++. ", + " .++..++. ", + " .+++..+++. ", + " .+++..+++. ", + " .++++++++++. ", + " .++++..++++. ", + " .+++++..+++++. ", + " .++++++++++++. ", + "................", + }; + return gdk_pixbuf_new_from_xpm_data (warning_xpm); +} + /************************************************************************* * MatchMap related functions (storing and retrieving) */ diff --git a/gnucash/import-export/import-backend.h b/gnucash/import-export/import-backend.h index 8ee5d8edd1a..035b7d107da 100644 --- a/gnucash/import-export/import-backend.h +++ b/gnucash/import-export/import-backend.h @@ -153,6 +153,7 @@ GdkPixbuf* gen_probability_pixbuf (gint score, GNCImportSettings *settings, GtkWidget * widget); +GdkPixbuf* gen_warning_pixbuf (); /*@}*/