aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-attachment-bar.h
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.h')
-rw-r--r--composer/e-msg-composer-attachment-bar.h21
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