[evolution] EMailFormatterQuoteExtension: Don't be cute with struct declarations.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EMailFormatterQuoteExtension: Don't be cute with struct declarations.
- Date: Sun, 7 Jul 2013 14:12:47 +0000 (UTC)
commit a260d79633a368bedeb89f0c6e50f7b634b3b943
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.
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 3dac85f..85e549a 100644
--- a/em-format/e-mail-formatter-quote.h
+++ b/em-format/e-mail-formatter-quote.h
@@ -84,8 +84,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]