From 547e123d2777bd3beba36e74e018efb590ed44d4 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 18 Jun 2009 15:26:21 -0400 Subject: Stop abusing forward declarations. --- widgets/misc/e-info-label.h | 4 ++-- widgets/text/e-text-model.h | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'widgets') diff --git a/widgets/misc/e-info-label.h b/widgets/misc/e-info-label.h index 8509e30130..977cc6ac4f 100644 --- a/widgets/misc/e-info-label.h +++ b/widgets/misc/e-info-label.h @@ -36,8 +36,8 @@ typedef struct _EInfoLabelClass EInfoLabelClass; struct _EInfoLabel { GtkHBox parent; - struct _GtkWidget *location; - struct _GtkWidget *info; + GtkWidget *location; + GtkWidget *info; }; struct _EInfoLabelClass { diff --git a/widgets/text/e-text-model.h b/widgets/text/e-text-model.h index f16c061610..0a9a738398 100644 --- a/widgets/text/e-text-model.h +++ b/widgets/text/e-text-model.h @@ -36,15 +36,14 @@ G_BEGIN_DECLS typedef struct _ETextModel ETextModel; typedef struct _ETextModelClass ETextModelClass; - -struct _ETextModelPrivate; +typedef struct _ETextModelPrivate ETextModelPrivate; typedef gint (*ETextModelReposFn) (gint, gpointer); struct _ETextModel { GObject item; - struct _ETextModelPrivate *priv; + ETextModelPrivate *priv; }; struct _ETextModelClass { -- cgit