#include <gtk/gtkthemes.h>
#include <gtk/gtkbindings.h>
#include <stdarg.h>
+#include <sys/stat.h>
#if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
# include <wchar.h>
#include "utils.h"
#include "gtksctree.h"
#include "codeconv.h"
+#include "stock_pixmap.h"
gint gtkut_get_font_width(GdkFont *font)
{
void gtkut_widget_set_composer_icon(GtkWidget *widget)
{
-#include "pixmaps/stock_mail_compose.xpm"
static GdkPixmap *xpm;
static GdkBitmap *bmp;
g_return_if_fail(widget != NULL);
g_return_if_fail(widget->window != NULL);
if (!xpm) {
- PIXMAP_CREATE(widget, xpm, bmp, stock_mail_compose_xpm);
+ stock_pixmap_gdk(widget, STOCK_PIXMAP_MAIL_COMPOSE, &xpm, &bmp);
}
gdk_window_set_icon(widget->window, NULL, xpm, bmp);
}