From c003c99a75587ba39a45d164272760c33f9666b5 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 25 Feb 2011 16:20:41 +0100 Subject: Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedly --- mail/e-mail-folder-pane.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'mail/e-mail-folder-pane.c') diff --git a/mail/e-mail-folder-pane.c b/mail/e-mail-folder-pane.c index 54d5cc4c65..beac9cc1ef 100644 --- a/mail/e-mail-folder-pane.c +++ b/mail/e-mail-folder-pane.c @@ -41,10 +41,6 @@ #include "mail/mail-tools.h" #include "mail/message-list.h" -#define E_MAIL_FOLDER_PANE_GET_PRIVATE(obj) \ - (G_TYPE_INSTANCE_GET_PRIVATE \ - ((obj), E_TYPE_MAIL_FOLDER_PANE, EMailFolderPanePrivate)) - struct _EMailFolderPanePrivate { gint placeholder; }; @@ -171,7 +167,7 @@ e_mail_folder_pane_class_init (EMailFolderPaneClass *class) static void e_mail_folder_pane_init (EMailFolderPane *browser) { - browser->priv = E_MAIL_FOLDER_PANE_GET_PRIVATE (browser); + browser->priv = G_TYPE_INSTANCE_GET_PRIVATE (browser, E_TYPE_MAIL_FOLDER_PANE, EMailFolderPanePrivate); } EMailView * -- cgit