diff options
Diffstat (limited to 'widgets/misc/e-attachment-button.c')
-rw-r--r-- | widgets/misc/e-attachment-button.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/widgets/misc/e-attachment-button.c b/widgets/misc/e-attachment-button.c index 16ddaab063..8a9b135abd 100644 --- a/widgets/misc/e-attachment-button.c +++ b/widgets/misc/e-attachment-button.c @@ -23,10 +23,6 @@ #include "e-attachment-button.h" -#define E_ATTACHMENT_BUTTON_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE \ - ((obj), E_TYPE_ATTACHMENT_BUTTON, EAttachmentButtonPrivate)) - struct _EAttachmentButtonPrivate { EAttachmentView *view; @@ -441,7 +437,7 @@ attachment_button_dispose (GObject *object) { EAttachmentButtonPrivate *priv; - priv = E_ATTACHMENT_BUTTON_GET_PRIVATE (object); + priv = E_ATTACHMENT_BUTTON (object)->priv; if (priv->view != NULL) { g_object_unref (priv->view); @@ -568,7 +564,7 @@ e_attachment_button_init (EAttachmentButton *button) GtkWidget *widget; gint n_targets; - button->priv = E_ATTACHMENT_BUTTON_GET_PRIVATE (button); + button->priv = G_TYPE_INSTANCE_GET_PRIVATE (button, E_TYPE_ATTACHMENT_BUTTON, EAttachmentButtonPrivate); /* Configure Widgets */ |