diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-12-08 23:32:25 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <descalante@igalia.com> | 2010-12-09 06:43:12 +0800 |
commit | 9176664b703913181c002bbbdde575675bfd8559 (patch) | |
tree | a3dcd6bce397410ef8681ee42e0b9058963b92bf /embed | |
parent | 62f2c31cefbd94e993584736fc82e33d4c62060b (diff) | |
download | gsoc2013-epiphany-9176664b703913181c002bbbdde575675bfd8559.tar gsoc2013-epiphany-9176664b703913181c002bbbdde575675bfd8559.tar.gz gsoc2013-epiphany-9176664b703913181c002bbbdde575675bfd8559.tar.bz2 gsoc2013-epiphany-9176664b703913181c002bbbdde575675bfd8559.tar.lz gsoc2013-epiphany-9176664b703913181c002bbbdde575675bfd8559.tar.xz gsoc2013-epiphany-9176664b703913181c002bbbdde575675bfd8559.tar.zst gsoc2013-epiphany-9176664b703913181c002bbbdde575675bfd8559.zip |
ephy-web-view: make defines friendlier with introspection
Non prefixed names trigger lots of warnings, avoid them.
Bug #636790
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-web-view.c | 2 | ||||
-rw-r--r-- | embed/ephy-web-view.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 9a46a228c..4335f5995 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2159,7 +2159,7 @@ ephy_web_view_init (EphyWebView *web_view) priv->monitor_directory = FALSE; priv->seq_context_id = 1; priv->seq_message_id = 1; - priv->tab_message_id = ephy_web_view_statusbar_get_context_id (web_view, TAB_MESSAGE_CONTEXT_DESCRIPTION); + priv->tab_message_id = ephy_web_view_statusbar_get_context_id (web_view, EPHY_WEB_VIEW_STATUSBAR_TAB_MESSAGE_CONTEXT_DESCRIPTION); priv->non_search_regex = g_regex_new ("(^localhost(\\.[^[:space:]]+)?(:\\d+)?(/.*)?$|" "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]$|" diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h index e37d0e2db..f4e18a582 100644 --- a/embed/ephy-web-view.h +++ b/embed/ephy-web-view.h @@ -45,8 +45,8 @@ typedef struct _EphyWebViewClass EphyWebViewClass; typedef struct _EphyWebView EphyWebView; typedef struct _EphyWebViewPrivate EphyWebViewPrivate; -#define TAB_MESSAGE_CONTEXT_DESCRIPTION "tab_message" -#define HELP_MESSAGE_CONTEXT_DESCRIPTION "help_message" +#define EPHY_WEB_VIEW_STATUSBAR_TAB_MESSAGE_CONTEXT_DESCRIPTION "tab_message" +#define EPHY_WEB_VIEW_STATUSBAR_HELP_MESSAGE_CONTEXT_DESCRIPTION "help_message" typedef enum { |