aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-09 03:41:47 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-09 03:41:47 +0800
commit4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5 (patch)
treea7b7208fd06e53ced8828d0defb893a4c2820625 /embed
parentc4d4c87e3be705bbafaafa5f75d4141a9994db48 (diff)
downloadgsoc2013-epiphany-4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5.tar
gsoc2013-epiphany-4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5.tar.gz
gsoc2013-epiphany-4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5.tar.bz2
gsoc2013-epiphany-4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5.tar.lz
gsoc2013-epiphany-4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5.tar.xz
gsoc2013-epiphany-4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5.tar.zst
gsoc2013-epiphany-4fc9af6cff1494c3cbbe48f253a84a5d9a3b92e5.zip
Make all structs prefixed by _.
2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.h: * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-dialog.c: * embed/ephy-embed-dialog.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.c: * embed/ephy-favicon-cache.h: * embed/ephy-history.c: * embed/ephy-history.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * lib/ephy-file-chooser.c: * lib/ephy-file-chooser.h: * lib/ephy-node-db.c: * lib/ephy-node-db.h: * lib/ephy-node-filter.c: * lib/ephy-node-filter.h: * lib/ephy-node.c: * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-action.h: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topics-selector.c: * src/bookmarks/ephy-topics-selector.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.c: * src/ephy-encoding-dialog.h: * src/ephy-history-window.c: * src/ephy-history-window.h: Make all structs prefixed by _.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-cookie-manager.h6
-rw-r--r--embed/ephy-download.c2
-rw-r--r--embed/ephy-download.h10
-rw-r--r--embed/ephy-embed-dialog.c2
-rw-r--r--embed/ephy-embed-dialog.h10
-rw-r--r--embed/ephy-embed-persist.c2
-rw-r--r--embed/ephy-embed-persist.h6
-rw-r--r--embed/ephy-encodings.c2
-rw-r--r--embed/ephy-encodings.h12
-rw-r--r--embed/ephy-favicon-cache.c2
-rw-r--r--embed/ephy-favicon-cache.h10
-rw-r--r--embed/ephy-history.c2
-rw-r--r--embed/ephy-history.h10
-rw-r--r--embed/ephy-password-manager.h6
-rw-r--r--embed/ephy-permission-manager.h6
15 files changed, 45 insertions, 43 deletions
diff --git a/embed/ephy-cookie-manager.h b/embed/ephy-cookie-manager.h
index 069ad0a6a..de7aed2e6 100644
--- a/embed/ephy-cookie-manager.h
+++ b/embed/ephy-cookie-manager.h
@@ -36,8 +36,8 @@ G_BEGIN_DECLS
#define EPHY_TYPE_COOKIE (ephy_cookie_get_type ())
-typedef struct EphyCookieManager EphyCookieManager;
-typedef struct EphyCookieManagerIface EphyCookieManagerIface;
+typedef struct _EphyCookieManager EphyCookieManager;
+typedef struct _EphyCookieManagerIface EphyCookieManagerIface;
typedef enum
{
@@ -72,7 +72,7 @@ typedef struct
guint p3p_policy : 3;
} EphyCookie;
-struct EphyCookieManagerIface
+struct _EphyCookieManagerIface
{
GTypeInterface base_iface;
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 3f46ed0c5..359472d1e 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -39,7 +39,7 @@ enum
LAST_SIGNAL
};
-struct EphyDownloadPrivate
+struct _EphyDownloadPrivate
{
long remaining_time_last_update;
long remaining_time;
diff --git a/embed/ephy-download.h b/embed/ephy-download.h
index 64d483b2a..2614f4e8e 100644
--- a/embed/ephy-download.h
+++ b/embed/ephy-download.h
@@ -33,9 +33,9 @@ G_BEGIN_DECLS
#define EPHY_IS_DOWNLOAD_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_DOWNLOAD))
#define EPHY_DOWNLOAD_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_DOWNLOAD, EphyDownloadClass))
-typedef struct EphyDownload EphyDownload;
-typedef struct EphyDownloadClass EphyDownloadClass;
-typedef struct EphyDownloadPrivate EphyDownloadPrivate;
+typedef struct _EphyDownload EphyDownload;
+typedef struct _EphyDownloadClass EphyDownloadClass;
+typedef struct _EphyDownloadPrivate EphyDownloadPrivate;
typedef enum
{
@@ -46,7 +46,7 @@ typedef enum
EPHY_DOWNLOAD_FAILED
} EphyDownloadState;
-struct EphyDownload
+struct _EphyDownload
{
GObject parent;
@@ -54,7 +54,7 @@ struct EphyDownload
EphyDownloadPrivate *priv;
};
-struct EphyDownloadClass
+struct _EphyDownloadClass
{
GObjectClass parent_class;
diff --git a/embed/ephy-embed-dialog.c b/embed/ephy-embed-dialog.c
index 6a018a246..55b909ced 100644
--- a/embed/ephy-embed-dialog.c
+++ b/embed/ephy-embed-dialog.c
@@ -47,7 +47,7 @@ enum
#define EPHY_EMBED_DIALOG_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialogPrivate))
-struct EphyEmbedDialogPrivate
+struct _EphyEmbedDialogPrivate
{
EphyEmbed *embed;
};
diff --git a/embed/ephy-embed-dialog.h b/embed/ephy-embed-dialog.h
index fdb2b89d2..1721b1067 100644
--- a/embed/ephy-embed-dialog.h
+++ b/embed/ephy-embed-dialog.h
@@ -37,11 +37,11 @@ G_BEGIN_DECLS
#define EPHY_IS_EMBED_DIALOG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_EMBED_DIALOG))
#define EPHY_EMBED_DIALOG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_EMBED_DIALOG, EphyEmbedDialogClass))
-typedef struct EphyEmbedDialogClass EphyEmbedDialogClass;
-typedef struct EphyEmbedDialog EphyEmbedDialog;
-typedef struct EphyEmbedDialogPrivate EphyEmbedDialogPrivate;
+typedef struct _EphyEmbedDialogClass EphyEmbedDialogClass;
+typedef struct _EphyEmbedDialog EphyEmbedDialog;
+typedef struct _EphyEmbedDialogPrivate EphyEmbedDialogPrivate;
-struct EphyEmbedDialog
+struct _EphyEmbedDialog
{
EphyDialog parent;
@@ -49,7 +49,7 @@ struct EphyEmbedDialog
EphyEmbedDialogPrivate *priv;
};
-struct EphyEmbedDialogClass
+struct _EphyEmbedDialogClass
{
EphyDialogClass parent_class;
};
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c
index 71f3a0cdb..45bcc209f 100644
--- a/embed/ephy-embed-persist.c
+++ b/embed/ephy-embed-persist.c
@@ -41,7 +41,7 @@ enum
#define EPHY_EMBED_PERSIST_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_EMBED_PERSIST, EphyEmbedPersistPrivate))
-struct EphyEmbedPersistPrivate
+struct _EphyEmbedPersistPrivate
{
char *dest;
char *source;
diff --git a/embed/ephy-embed-persist.h b/embed/ephy-embed-persist.h
index 0f80c1200..d8969e341 100644
--- a/embed/ephy-embed-persist.h
+++ b/embed/ephy-embed-persist.h
@@ -38,9 +38,9 @@ G_BEGIN_DECLS
#define EPHY_IS_EMBED_PERSIST_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_EMBED_PERSIST))
#define EPHY_EMBED_PERSIST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_EMBED_PERSIST, EphyEmbedPersistClass))
-typedef struct _EphyEmbedPersistClass EphyEmbedPersistClass;
-typedef struct _EphyEmbedPersist EphyEmbedPersist;
-typedef struct EphyEmbedPersistPrivate EphyEmbedPersistPrivate;
+typedef struct _EphyEmbedPersistClass EphyEmbedPersistClass;
+typedef struct _EphyEmbedPersist EphyEmbedPersist;
+typedef struct _EphyEmbedPersistPrivate EphyEmbedPersistPrivate;
typedef enum
{
diff --git a/embed/ephy-encodings.c b/embed/ephy-encodings.c
index f5c0ebbde..d4e1168bc 100644
--- a/embed/ephy-encodings.c
+++ b/embed/ephy-encodings.c
@@ -32,7 +32,7 @@
#define EPHY_ENCODINGS_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_ENCODINGS, EphyEncodingsPrivate))
-struct EphyEncodingsPrivate
+struct _EphyEncodingsPrivate
{
EphyNodeDb *db;
EphyNode *root;
diff --git a/embed/ephy-encodings.h b/embed/ephy-encodings.h
index 46df65f58..09189a695 100644
--- a/embed/ephy-encodings.h
+++ b/embed/ephy-encodings.h
@@ -35,7 +35,9 @@ G_BEGIN_DECLS
#define EPHY_IS_ENCODINGS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_ENCODINGS))
#define EPHY_ENCODINGS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_ENCODINGS, EphyEncodingsClass))
-typedef struct EphyEncodingsPrivate EphyEncodingsPrivate;
+typedef struct _EphyEncodings EphyEncodings;
+typedef struct _EphyEncodingsPrivate EphyEncodingsPrivate;
+typedef struct _EphyEncodingsClass EphyEncodingsClass;
typedef enum
{
@@ -75,18 +77,18 @@ enum
EPHY_NODE_ENCODING_PROP_IS_AUTODETECTOR = 6
};
-typedef struct
+struct _EphyEncodings
{
GObject parent;
/*< private >*/
EphyEncodingsPrivate *priv;
-} EphyEncodings;
+};
-typedef struct
+struct _EphyEncodingsClass
{
GObjectClass parent_class;
-} EphyEncodingsClass;
+};
GType ephy_encodings_get_type (void);
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c
index 93309a841..d38425cb6 100644
--- a/embed/ephy-favicon-cache.c
+++ b/embed/ephy-favicon-cache.c
@@ -47,7 +47,7 @@ static void ephy_favicon_cache_finalize (GObject *object);
#define EPHY_FAVICON_CACHE_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_FAVICON_CACHE, EphyFaviconCachePrivate))
-struct EphyFaviconCachePrivate
+struct _EphyFaviconCachePrivate
{
char *directory;
char *xml_file;
diff --git a/embed/ephy-favicon-cache.h b/embed/ephy-favicon-cache.h
index c4f229ccc..a2d211821 100644
--- a/embed/ephy-favicon-cache.h
+++ b/embed/ephy-favicon-cache.h
@@ -35,11 +35,11 @@ G_BEGIN_DECLS
#define EPHY_IS_FAVICON_CACHE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_FAVICON_CACHE))
#define EPHY_FAVICON_CACHE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_FAVICON_CACHE, EphyFaviconCacheClass))
-typedef struct EphyFaviconCacheClass EphyFaviconCacheClass;
-typedef struct EphyFaviconCache EphyFaviconCache;
-typedef struct EphyFaviconCachePrivate EphyFaviconCachePrivate;
+typedef struct _EphyFaviconCacheClass EphyFaviconCacheClass;
+typedef struct _EphyFaviconCache EphyFaviconCache;
+typedef struct _EphyFaviconCachePrivate EphyFaviconCachePrivate;
-struct EphyFaviconCache
+struct _EphyFaviconCache
{
GObject parent;
@@ -47,7 +47,7 @@ struct EphyFaviconCache
EphyFaviconCachePrivate *priv;
};
-struct EphyFaviconCacheClass
+struct _EphyFaviconCacheClass
{
GObjectClass parent_class;
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index d485616b7..6b54adaaf 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -45,7 +45,7 @@
#define EPHY_HISTORY_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), EPHY_TYPE_HISTORY, EphyHistoryPrivate))
-struct EphyHistoryPrivate
+struct _EphyHistoryPrivate
{
char *xml_file;
EphyNodeDb *db;
diff --git a/embed/ephy-history.h b/embed/ephy-history.h
index 7da9ff475..740440f05 100644
--- a/embed/ephy-history.h
+++ b/embed/ephy-history.h
@@ -34,9 +34,9 @@ G_BEGIN_DECLS
#define EPHY_IS_HISTORY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_HISTORY))
#define EPHY_HISTORY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_HISTORY, EphyHistoryClass))
-typedef struct EphyHistoryClass EphyHistoryClass;
-typedef struct EphyHistory EphyHistory;
-typedef struct EphyHistoryPrivate EphyHistoryPrivate;
+typedef struct _EphyHistoryClass EphyHistoryClass;
+typedef struct _EphyHistory EphyHistory;
+typedef struct _EphyHistoryPrivate EphyHistoryPrivate;
enum
{
@@ -51,7 +51,7 @@ enum
EPHY_NODE_HOST_PROP_ZOOM = 10
};
-struct EphyHistory
+struct _EphyHistory
{
GObject parent;
@@ -59,7 +59,7 @@ struct EphyHistory
EphyHistoryPrivate *priv;
};
-struct EphyHistoryClass
+struct _EphyHistoryClass
{
GObjectClass parent_class;
diff --git a/embed/ephy-password-manager.h b/embed/ephy-password-manager.h
index a9ae67f21..1b32f6ee0 100644
--- a/embed/ephy-password-manager.h
+++ b/embed/ephy-password-manager.h
@@ -36,8 +36,8 @@ G_BEGIN_DECLS
#define EPHY_TYPE_PASSWORD_INFO (ephy_password_info_get_type ())
-typedef struct EphyPasswordManager EphyPasswordManager;
-typedef struct EphyPasswordManagerIface EphyPasswordManagerIface;
+typedef struct _EphyPasswordManager EphyPasswordManager;
+typedef struct _EphyPasswordManagerIface EphyPasswordManagerIface;
typedef struct
{
@@ -46,7 +46,7 @@ typedef struct
char *password;
} EphyPasswordInfo;
-struct EphyPasswordManagerIface
+struct _EphyPasswordManagerIface
{
GTypeInterface base_iface;
diff --git a/embed/ephy-permission-manager.h b/embed/ephy-permission-manager.h
index 22e561d89..b5c3a0354 100644
--- a/embed/ephy-permission-manager.h
+++ b/embed/ephy-permission-manager.h
@@ -49,8 +49,8 @@ typedef enum
typedef struct _EphyPermissionInfo EphyPermissionInfo;
-typedef struct EphyPermissionManager EphyPermissionManager;
-typedef struct EphyPermissionManagerIface EphyPermissionManagerIface;
+typedef struct _EphyPermissionManager EphyPermissionManager;
+typedef struct _EphyPermissionManagerIface EphyPermissionManagerIface;
struct _EphyPermissionInfo
{
@@ -59,7 +59,7 @@ struct _EphyPermissionInfo
EphyPermission permission;
};
-struct EphyPermissionManagerIface
+struct _EphyPermissionManagerIface
{
GTypeInterface base_iface;