aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-sidebar.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/e-mail-sidebar.c')
-rw-r--r--mail/e-mail-sidebar.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/mail/e-mail-sidebar.c b/mail/e-mail-sidebar.c
index a418dc133c..19f38f7d30 100644
--- a/mail/e-mail-sidebar.c
+++ b/mail/e-mail-sidebar.c
@@ -27,10 +27,6 @@
#include "mail/e-mail-local.h"
#include "mail/em-utils.h"
-#define E_MAIL_SIDEBAR_GET_PRIVATE(obj) \
- (G_TYPE_INSTANCE_GET_PRIVATE \
- ((obj), E_TYPE_MAIL_SIDEBAR, EMailSidebarPrivate))
-
struct _EMailSidebarPrivate {
GKeyFile *key_file; /* not owned */
};
@@ -425,7 +421,7 @@ mail_sidebar_init (EMailSidebar *sidebar)
GtkTreeSelection *selection;
EMFolderTree *folder_tree;
- sidebar->priv = E_MAIL_SIDEBAR_GET_PRIVATE (sidebar);
+ sidebar->priv = G_TYPE_INSTANCE_GET_PRIVATE (sidebar, E_TYPE_MAIL_SIDEBAR, EMailSidebarPrivate);
folder_tree = EM_FOLDER_TREE (sidebar);
em_folder_tree_set_excluded (folder_tree, 0);