Revision 424 src/stock_pixmap.c

View differences:

stock_pixmap.c
46 46
#include "pixmaps/mark.xpm"
47 47
#include "pixmaps/new.xpm"
48 48
#include "pixmaps/replied.xpm"
49
#include "pixmaps/unread.xpm"
50
#include "pixmaps/vcard.xpm"
51
#include "pixmaps/online.xpm"
52
#include "pixmaps/offline.xpm"
53
#include "pixmaps/mail.xpm"
49 54
#include "pixmaps/stock_inbox.h"
50 55
#include "pixmaps/stock_outbox.h"
51 56
#include "pixmaps/stock_mail.h"
......
65 70
#include "pixmaps/stock_delete_16.h"
66 71
#include "pixmaps/stock_spam.h"
67 72
#include "pixmaps/stock_hand-signed.h"
73
#include "pixmaps/stock_sylpheed.h"
68 74
#include "pixmaps/sylpheed-logo.h"
69
#include "pixmaps/unread.xpm"
70
#include "pixmaps/vcard.xpm"
71
#include "pixmaps/online.xpm"
72
#include "pixmaps/offline.xpm"
73
#include "pixmaps/mail.xpm"
74 75

  
75 76
typedef struct _StockPixmapData	StockPixmapData;
76 77

  
......
133 134
	{NULL, NULL, NULL, NULL, stock_delete, sizeof(stock_delete), GTK_STOCK_DELETE, 24},
134 135
	{NULL, NULL, NULL, NULL, stock_spam, sizeof(stock_spam), "stock_spam", 24},
135 136
	{NULL, NULL, NULL, NULL, stock_hand_signed, sizeof(stock_hand_signed), "stock_hand-signed", 24},
137
	{NULL, NULL, NULL, NULL, stock_sylpheed, sizeof(stock_sylpheed), NULL, 0},
136 138
	{NULL, NULL, NULL, NULL, sylpheed_logo, sizeof(sylpheed_logo), NULL, 0},
137 139
};
138 140

  
......
194 196
	if (pixbuf)
195 197
		*pixbuf = NULL;
196 198

  
197
	g_return_val_if_fail(window != NULL, -1);
198 199
	g_return_val_if_fail(icon >= 0 && icon < N_STOCK_PIXMAPS, -1);
199 200

  
200 201
	pix_d = &pixmaps[icon];

Also available in: Unified diff