aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c
index 27f3d1bfb6..23573331c0 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -36,10 +36,6 @@
#include "shell/e-shell.h"
#include "shell/e-shell-settings.h"
-#define EM_FORMAT_GET_PRIVATE(obj) \
- (G_TYPE_INSTANCE_GET_PRIVATE \
- ((obj), EM_TYPE_FORMAT, EMFormatPrivate))
-
#define d(x)
typedef struct _EMFormatCache EMFormatCache;
@@ -358,7 +354,7 @@ emf_init (EMFormat *emf)
EShell *shell;
EShellSettings *shell_settings;
- emf->priv = EM_FORMAT_GET_PRIVATE (emf);
+ emf->priv = G_TYPE_INSTANCE_GET_PRIVATE (emf, EM_TYPE_FORMAT, EMFormatPrivate);
emf->inline_table = g_hash_table_new_full (
g_str_hash, g_str_equal,