diff options
author | JP Rosevear <jpr@novell.com> | 2004-11-26 21:57:33 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-11-26 21:57:33 +0800 |
commit | b66bfd09f72ecd36a44aef9338cb53891c27048e (patch) | |
tree | 28bdb7fa525c4791be40d66d2ebdf1e098995557 /e-util/e-icon-factory.h | |
parent | 686e2dabe9ecfb69423dc50f84d012eb06b98dde (diff) | |
download | gsoc2013-evolution-b66bfd09f72ecd36a44aef9338cb53891c27048e.tar.gz gsoc2013-evolution-b66bfd09f72ecd36a44aef9338cb53891c27048e.tar.zst gsoc2013-evolution-b66bfd09f72ecd36a44aef9338cb53891c27048e.zip |
add proto
2004-11-26 JP Rosevear <jpr@novell.com>
* e-icon-factory.h: add proto
* e-icon-factory.c (e_icon_factory_init): cast to kill warning
(e_icon_factory_get_image): new function to return a GtkImage
widget give an icon name and size
svn path=/trunk/; revision=27995
Diffstat (limited to 'e-util/e-icon-factory.h')
-rw-r--r-- | e-util/e-icon-factory.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/e-util/e-icon-factory.h b/e-util/e-icon-factory.h index cdb80b040b..966e1f56e4 100644 --- a/e-util/e-icon-factory.h +++ b/e-util/e-icon-factory.h @@ -1,7 +1,7 @@ /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* e-icon-factory.h - Icon factory for the Evolution shell. * - * Copyright (C) 2002 Ximian, Inc. + * Copyright (C) 2002-2004 Novell, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -24,6 +24,7 @@ #define _E_ICON_FACTORY_H_ #include <gdk-pixbuf/gdk-pixbuf.h> +#include <gtk/gtkwidget.h> enum { E_ICON_SIZE_MENU, @@ -50,6 +51,8 @@ char *e_icon_factory_get_icon_filename (const char *icon_name, int icon_siz GdkPixbuf *e_icon_factory_get_icon (const char *icon_name, int icon_size); +GtkWidget *e_icon_factory_get_image (const char *icon_name, int icon_size); + GList *e_icon_factory_get_icon_list (const char *icon_name); #endif /* _E_ICON_FACTORY_H_ */ |