diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-01-01 03:38:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-01-01 03:40:06 +0800 |
commit | a7abe3ac594dd3324f473b8200641e03cf64f774 (patch) | |
tree | 1d6b85f75ba41b08e87f0ccc3d7de4fd43fe7720 /composer/e-composer-header.c | |
parent | 2c9b8c191d7ccf82c4d0c6df4c5acbe11cfa8701 (diff) | |
download | gsoc2013-evolution-a7abe3ac594dd3324f473b8200641e03cf64f774.tar.gz gsoc2013-evolution-a7abe3ac594dd3324f473b8200641e03cf64f774.tar.zst gsoc2013-evolution-a7abe3ac594dd3324f473b8200641e03cf64f774.zip |
Composer cleanups.
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 * |