aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-19 03:26:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-19 03:26:21 +0800
commit547e123d2777bd3beba36e74e018efb590ed44d4 (patch)
tree447712a20cff8bc89e6d6c1d16f0d99b9c1122f5 /widgets
parent67159043da2de9df576f6a4eaa245e0c3926f004 (diff)
downloadgsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.gz
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.zst
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.zip
Stop abusing forward declarations.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-info-label.h4
-rw-r--r--widgets/text/e-text-model.h5
2 files changed, 4 insertions, 5 deletions
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 {