Mercurial > geeqie
diff src/layout_util.c @ 1612:5d54bc073bfa
Attempt to use stock gtk icons for directory list and tree views.
| author | zas_ |
|---|---|
| date | Thu, 21 May 2009 09:20:48 +0000 |
| parents | d66324d91bae |
| children | d35a0836c6b5 |
line wrap: on
line diff
--- a/src/layout_util.c Sat May 16 11:31:48 2009 +0000 +++ b/src/layout_util.c Thu May 21 09:20:48 2009 +0000 @@ -2200,37 +2200,6 @@ // layout_menu_edit_update(lw); } -/* - *----------------------------------------------------------------------------- - * icons (since all the toolbar icons are included here, best place as any) - *----------------------------------------------------------------------------- - */ - -PixmapFolders *folder_icons_new(void) -{ - PixmapFolders *pf; - - pf = g_new0(PixmapFolders, 1); - - pf->close = pixbuf_inline(PIXBUF_INLINE_FOLDER_CLOSED); - pf->open = pixbuf_inline(PIXBUF_INLINE_FOLDER_OPEN); - pf->deny = pixbuf_inline(PIXBUF_INLINE_FOLDER_LOCKED); - pf->parent = pixbuf_inline(PIXBUF_INLINE_FOLDER_UP); - - return pf; -} - -void folder_icons_free(PixmapFolders *pf) -{ - if (!pf) return; - - g_object_unref(pf->close); - g_object_unref(pf->open); - g_object_unref(pf->deny); - g_object_unref(pf->parent); - - g_free(pf); -} /* *-----------------------------------------------------------------------------
