plug mem leaks in stock pixmap code, and refactor code a tiny little bit
[claws.git] / src / stock_pixmap.h
index 0fbbc31aa72e3adabfeac7257cae8144ccbb68b8..3faf61307622b41b9c1e99ae293af612615cdfe2 100644 (file)
 typedef enum
 {
        STOCK_PIXMAP_ADDRESS,
+       STOCK_PIXMAP_ADDRESS_BOOK,
        STOCK_PIXMAP_BOOK,
        STOCK_PIXMAP_CATEGORY,
        STOCK_PIXMAP_CHECKBOX_OFF,
        STOCK_PIXMAP_CHECKBOX_ON,
        STOCK_PIXMAP_CLIP,
+       STOCK_PIXMAP_CLIP_KEY,
+       STOCK_PIXMAP_CLOSE,
        STOCK_PIXMAP_COMPLETE,
        STOCK_PIXMAP_CONTINUE,
        STOCK_PIXMAP_DELETED,
        STOCK_PIXMAP_DIR_CLOSE,
+       STOCK_PIXMAP_DIR_CLOSE_HRM,
        STOCK_PIXMAP_DIR_OPEN,
+       STOCK_PIXMAP_DIR_OPEN_HRM,
+       STOCK_PIXMAP_DOWN_ARROW,
+       STOCK_PIXMAP_EDIT_EXTERN,
        STOCK_PIXMAP_ERROR,
+       STOCK_PIXMAP_EXEC,
        STOCK_PIXMAP_FORWARDED,
        STOCK_PIXMAP_GROUP,
-       STOCK_PIXMAP_INBOX,
+       STOCK_PIXMAP_IGNORETHREAD,
+       STOCK_PIXMAP_INBOX_CLOSE,
+       STOCK_PIXMAP_INBOX_CLOSE_HRM,
+       STOCK_PIXMAP_INBOX_OPEN,
+       STOCK_PIXMAP_INBOX_OPEN_HRM,
+       STOCK_PIXMAP_INSERT_FILE,
        STOCK_PIXMAP_INTERFACE,
        STOCK_PIXMAP_JPILOT,
+       STOCK_PIXMAP_KEY,
        STOCK_PIXMAP_LDAP,
        STOCK_PIXMAP_LINEWRAP,
-       STOCK_PIXMAP_MARK,
        STOCK_PIXMAP_LOCKED,
-       STOCK_PIXMAP_NEW,
-       STOCK_PIXMAP_OUTBOX,
-       STOCK_PIXMAP_REPLIED,
-       STOCK_PIXMAP_CLOSE,
-       STOCK_PIXMAP_DOWN_ARROW,
-       STOCK_PIXMAP_EXEC,
        STOCK_PIXMAP_MAIL,
        STOCK_PIXMAP_MAIL_ATTACH,
        STOCK_PIXMAP_MAIL_COMPOSE,
@@ -63,16 +70,29 @@ typedef enum
        STOCK_PIXMAP_MAIL_REPLY_TO_AUTHOR,
        STOCK_PIXMAP_MAIL_SEND,
        STOCK_PIXMAP_MAIL_SEND_QUEUE,
+       STOCK_PIXMAP_MAIL_SIGN,
+       STOCK_PIXMAP_MARK,
+       STOCK_PIXMAP_NEW,
        STOCK_PIXMAP_NEWS_COMPOSE,
+       STOCK_PIXMAP_OUTBOX_CLOSE,
+       STOCK_PIXMAP_OUTBOX_CLOSE_HRM,
+       STOCK_PIXMAP_OUTBOX_OPEN,
+       STOCK_PIXMAP_OUTBOX_OPEN_HRM,
+       STOCK_PIXMAP_REPLIED,
        STOCK_PIXMAP_PASTE,
        STOCK_PIXMAP_PREFERENCES,
        STOCK_PIXMAP_PROPERTIES,
+       STOCK_PIXMAP_QUEUE_CLOSE,
+       STOCK_PIXMAP_QUEUE_CLOSE_HRM,
+       STOCK_PIXMAP_QUEUE_OPEN,
+       STOCK_PIXMAP_QUEUE_OPEN_HRM,
        STOCK_PIXMAP_SYLPHEED_LOGO,
-       STOCK_PIXMAP_ADDRESS_BOOK,
-       STOCK_PIXMAP_TRASH,
+       STOCK_PIXMAP_TRASH_OPEN,
+       STOCK_PIXMAP_TRASH_OPEN_HRM,
+       STOCK_PIXMAP_TRASH_CLOSE,
+       STOCK_PIXMAP_TRASH_CLOSE_HRM,
        STOCK_PIXMAP_UNREAD,
        STOCK_PIXMAP_VCARD,
-       STOCK_PIXMAP_IGNORETHREAD,
 
        N_STOCK_PIXMAPS
 } StockPixmap;
@@ -84,4 +104,7 @@ gint stock_pixmap_gdk                (GtkWidget       *window,
                                 GdkPixmap      **pixmap,
                                 GdkBitmap      **mask);
 
+GList *stock_pixmap_themes_list_new    (void);
+void stock_pixmap_themes_list_free     (GList *list);
+
 #endif /* __STOCK_PIXMAP_H__ */