diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-24 05:09:19 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-08-24 05:09:19 +0000 |
commit | d501e68c2df3979e02f8674364dc0f43f7dc438f (patch) | |
tree | e38f60c60bd336b921fc21dd1a5ee27dcdea023f /src/stock_pixmap.c | |
parent | 97b31fdbe05f06015f636c5a1c8a46b814bf822d (diff) |
removed stock_pixmap_widget().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@503 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/stock_pixmap.c')
-rw-r--r-- | src/stock_pixmap.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/stock_pixmap.c b/src/stock_pixmap.c index b803f547..654f4af8 100644 --- a/src/stock_pixmap.c +++ b/src/stock_pixmap.c @@ -138,18 +138,6 @@ static StockPixmapData pixmaps[] = {NULL, NULL, NULL, NULL, sylpheed_logo, sizeof(sylpheed_logo), NULL, 0}, }; -/* return newly constructed GtkPixmap from GdkPixmap */ -GtkWidget *stock_pixmap_widget(GtkWidget *window, StockPixmap icon) -{ - GdkPixmap *pixmap; - GdkBitmap *mask; - - g_return_val_if_fail(window != NULL, NULL); - g_return_val_if_fail(icon >= 0 && icon < N_STOCK_PIXMAPS, NULL); - - stock_pixmap_gdk(window, icon, &pixmap, &mask); - return gtk_pixmap_new(pixmap, mask); -} GtkWidget *stock_pixbuf_widget(GtkWidget *window, StockPixmap icon) { |