[evolution/gnome-3-8] EMailFormatterQuoteExtension: Don't be cute with struct declarations.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-8] EMailFormatterQuoteExtension: Don't be cute with struct declarations.
- Date: Sun, 7 Jul 2013 14:12:34 +0000 (UTC)
commit 3dc9160a3b830a660a8222bfb5c773633963aef9
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Jul 7 09:28:50 2013 -0400
EMailFormatterQuoteExtension: Don't be cute with struct declarations.
Declare the instance and class structs normally so Gtk-Doc can make
sense of it.
(cherry picked from commit a260d79633a368bedeb89f0c6e50f7b634b3b943)
em-format/e-mail-formatter-quote.h | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/em-format/e-mail-formatter-quote.h b/em-format/e-mail-formatter-quote.h
index 241a5b9..34e4275 100644
--- a/em-format/e-mail-formatter-quote.h
+++ b/em-format/e-mail-formatter-quote.h
@@ -85,8 +85,16 @@ G_BEGIN_DECLS
* This is an abstract base type for formatter extensions which are
* intended only for use by #EMailFormatterQuote.
**/
-typedef EMailFormatterExtension EMailFormatterQuoteExtension;
-typedef EMailFormatterExtensionClass EMailFormatterQuoteExtensionClass;
+typedef struct _EMailFormatterQuoteExtension EMailFormatterQuoteExtension;
+typedef struct _EMailFormatterQuoteExtensionClass EMailFormatterQuoteExtensionClass;
+
+struct _EMailFormatterQuoteExtension {
+ EMailFormatterExtension parent;
+};
+
+struct _EMailFormatterQuoteExtensionClass {
+ EMailFormatterExtensionClass parent_class;
+};
GType e_mail_formatter_quote_extension_get_type
(void) G_GNUC_CONST;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]