summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-bookmark.h
diff options
context:
space:
mode:
authorGene Z. Ragan <gzr@eazel.com>2000-04-11 22:16:24 +0000
committerGene Ragan <gzr@src.gnome.org>2000-04-11 22:16:24 +0000
commit2ac3c5dac548d7287ba5d34c0a7bf28d441854c6 (patch)
tree70f354754d0f96583c5ab2a3f2aa19dc3722a084 /libnautilus-extensions/nautilus-bookmark.h
parent25226589f055c8881a1bbdb0f28823a8453eed35 (diff)
downloadnautilus-2ac3c5dac548d7287ba5d34c0a7bf28d441854c6.tar.gz
components/sample/nautilus-sample-content-view.c Added icon data to
2000-04-11 Gene Z. Ragan <gzr@eazel.com> * components/sample/nautilus-sample-content-view.c Added icon data to BonoboUiHandler. This is GdkPixbuf data and demonstrates the pixbuf data features added to bonobo ui handlers. * libnautilus/nautilus-bookmark.c bonobo_ui_handler_menu_new_item modified to take advantage of new bonobo ui handler pixbuf functionality. Components and menu items can now display pixbuf data. Added nautilus_bookmark_get_pixbuf() routine. * libnautilus/nautilus-bookmark.h Added nautilus_bookmark_get_pixbuf() routine. * src/nautilus-window-menus.c bonobo_ui_handler_menu_new_item modified to take advantage of new bonobo ui handler pixbuf functionality.
Diffstat (limited to 'libnautilus-extensions/nautilus-bookmark.h')
-rw-r--r--libnautilus-extensions/nautilus-bookmark.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-extensions/nautilus-bookmark.h b/libnautilus-extensions/nautilus-bookmark.h
index 2c73f0ada..bf0345aea 100644
--- a/libnautilus-extensions/nautilus-bookmark.h
+++ b/libnautilus-extensions/nautilus-bookmark.h
@@ -27,6 +27,7 @@
#include <gtk/gtkwidget.h>
#include <gdk/gdktypes.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
typedef struct _NautilusBookmark NautilusBookmark;
@@ -73,6 +74,9 @@ gboolean nautilus_bookmark_get_pixmap_and_mask (const NautilusBookmark
guint icon_size,
GdkPixmap **pixmap_return,
GdkBitmap **mask_return);
+gboolean nautilus_bookmark_get_pixbuf(const NautilusBookmark *bookmark,
+ guint icon_size,
+ GdkPixbuf **pixbuf_return);
GtkWidget * nautilus_bookmark_menu_item_new (const NautilusBookmark *bookmark);