diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-03-12 00:48:53 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-03-12 00:48:53 +0800 |
commit | c15a1c9677df26ef8e62499122d5a10bb3716e10 (patch) | |
tree | 92478fb42fe0cf8781166bc2a5ffaf6e7abdbfa8 /composer/e-msg-composer-attachment-bar.h | |
parent | 2e204d829b2056f9c5aa2671820ab39a6975b366 (diff) | |
download | gsoc2013-evolution-c15a1c9677df26ef8e62499122d5a10bb3716e10.tar.gz gsoc2013-evolution-c15a1c9677df26ef8e62499122d5a10bb3716e10.tar.zst gsoc2013-evolution-c15a1c9677df26ef8e62499122d5a10bb3716e10.zip |
Use GnomeIconList instead of EIconList so we don't have to maintain an
2003-03-11 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c: Use GnomeIconList instead of
EIconList so we don't have to maintain an exact copy/paste of
GnomeIconList ourselves. I don't udnerstand why we ever did.
* e-icon-list.[c,h]: Removed.
svn path=/trunk/; revision=20251
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.h')
-rw-r--r-- | composer/e-msg-composer-attachment-bar.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/composer/e-msg-composer-attachment-bar.h b/composer/e-msg-composer-attachment-bar.h index 4a5ab97a11..a43b466633 100644 --- a/composer/e-msg-composer-attachment-bar.h +++ b/composer/e-msg-composer-attachment-bar.h @@ -24,7 +24,8 @@ #ifndef __E_MSG_COMPOSER_ATTACHMENT_BAR_H__ #define __E_MSG_COMPOSER_ATTACHMENT_BAR_H__ -#include "e-icon-list.h" +#include <libgnomeui/gnome-icon-list.h> + #include <camel/camel-multipart.h> #ifdef __cplusplus @@ -43,30 +44,30 @@ extern "C" { #define E_IS_MSG_COMPOSER_ATTACHMENT_BAR_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TYPE_MSG_COMPOSER_ATTACHMENT_BAR)) - +typedef struct _EMsgComposerAttachmentBar EMsgComposerAttachmentBar; +typedef struct _EMsgComposerAttachmentBarClass EMsgComposerAttachmentBarClass; typedef struct _EMsgComposerAttachmentBarPrivate EMsgComposerAttachmentBarPrivate; struct _EMsgComposerAttachmentBar { - EIconList parent; - + GnomeIconList parent; + EMsgComposerAttachmentBarPrivate *priv; }; -typedef struct _EMsgComposerAttachmentBar EMsgComposerAttachmentBar; struct _EMsgComposerAttachmentBarClass { - EIconListClass parent_class; - + GnomeIconListClass parent_class; + void (* changed) (EMsgComposerAttachmentBar *bar); }; -typedef struct _EMsgComposerAttachmentBarClass EMsgComposerAttachmentBarClass; - + GtkType e_msg_composer_attachment_bar_get_type (void); + GtkWidget *e_msg_composer_attachment_bar_new (GtkAdjustment *adj); void e_msg_composer_attachment_bar_to_multipart (EMsgComposerAttachmentBar *bar, CamelMultipart *multipart, const char *default_charset); guint e_msg_composer_attachment_bar_get_num_attachments (EMsgComposerAttachmentBar *bar); -void e_msg_composer_attachment_bar_attach (EMsgComposerAttachmentBar *bar, const gchar *file_name); +void e_msg_composer_attachment_bar_attach (EMsgComposerAttachmentBar *bar, const char *file_name); void e_msg_composer_attachment_bar_attach_mime_part (EMsgComposerAttachmentBar *bar, CamelMimePart *part); #ifdef __cplusplus |