From c15a1c9677df26ef8e62499122d5a10bb3716e10 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 11 Mar 2003 16:48:53 +0000 Subject: Use GnomeIconList instead of EIconList so we don't have to maintain an 2003-03-11 Jeffrey Stedfast * 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 --- composer/e-msg-composer-attachment-bar.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'composer/e-msg-composer-attachment-bar.h') 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 + #include #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 -- cgit v1.2.3