From 049164e25784d902bd69439b62da8eaf17db6d0b Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Mon, 29 Sep 2008 05:55:37 +0000 Subject: Minor nitpick in the .h files svn path=/trunk/; revision=8565 --- lib/widgets/ephy-location-entry.h | 2 +- lib/widgets/ephy-search-entry.h | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'lib') diff --git a/lib/widgets/ephy-location-entry.h b/lib/widgets/ephy-location-entry.h index e3b5690f3..71539251c 100644 --- a/lib/widgets/ephy-location-entry.h +++ b/lib/widgets/ephy-location-entry.h @@ -38,8 +38,8 @@ G_BEGIN_DECLS #define EPHY_IS_LOCATION_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_LOCATION_ENTRY)) #define EPHY_LOCATION_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_LOCATION_ENTRY, EphyLocationEntryClass)) -typedef struct _EphyLocationEntry EphyLocationEntry; typedef struct _EphyLocationEntryClass EphyLocationEntryClass; +typedef struct _EphyLocationEntry EphyLocationEntry; typedef struct _EphyLocationEntryPrivate EphyLocationEntryPrivate; struct _EphyLocationEntryClass diff --git a/lib/widgets/ephy-search-entry.h b/lib/widgets/ephy-search-entry.h index 72ae570bd..08446a882 100644 --- a/lib/widgets/ephy-search-entry.h +++ b/lib/widgets/ephy-search-entry.h @@ -36,23 +36,23 @@ G_BEGIN_DECLS #define EPHY_IS_SEARCH_ENTRY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_SEARCH_ENTRY)) #define EPHY_SEARCH_ENTRY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_SEARCH_ENTRY, EphySearchEntryClass)) +typedef struct _EphySearchEntryClass EphySearchEntryClass; typedef struct _EphySearchEntry EphySearchEntry; typedef struct _EphySearchEntryPrivate EphySearchEntryPrivate; -typedef struct _EphySearchEntryClass EphySearchEntryClass; -struct _EphySearchEntry +struct _EphySearchEntryClass { - EphyIconEntry parent; + EphyIconEntryClass parent; - /*< private >*/ - EphySearchEntryPrivate *priv; + void (*search) (EphySearchEntry *view, const char *text); }; -struct _EphySearchEntryClass +struct _EphySearchEntry { - EphyIconEntryClass parent; + EphyIconEntry parent; - void (*search) (EphySearchEntry *view, const char *text); + /*< private >*/ + EphySearchEntryPrivate *priv; }; GType ephy_search_entry_get_type (void); -- cgit v1.2.3