diff options
Diffstat (limited to 'composer/e-composer-header.c')
-rw-r--r-- | composer/e-composer-header.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/composer/e-composer-header.c b/composer/e-composer-header.c index 29a9a5c790..ebfe564dcb 100644 --- a/composer/e-composer-header.c +++ b/composer/e-composer-header.c @@ -128,7 +128,7 @@ composer_header_set_property (GObject *object, { EComposerHeaderPrivate *priv; - priv = E_COMPOSER_HEADER (object)->priv; + priv = E_COMPOSER_HEADER_GET_PRIVATE (object); switch (property_id) { case PROP_BUTTON: /* construct only */ @@ -163,7 +163,7 @@ composer_header_get_property (GObject *object, { EComposerHeaderPrivate *priv; - priv = E_COMPOSER_HEADER (object)->priv; + priv = E_COMPOSER_HEADER_GET_PRIVATE (object); switch (property_id) { case PROP_BUTTON: /* construct only */ @@ -292,8 +292,7 @@ e_composer_header_class_init (EComposerHeaderClass *class) static void e_composer_header_init (EComposerHeader *header) { - header->priv = G_TYPE_INSTANCE_GET_PRIVATE ( - header, E_TYPE_COMPOSER_HEADER, EComposerHeaderPrivate); + header->priv = E_COMPOSER_HEADER_GET_PRIVATE (header); } gchar * |