From dcccb22acc252879837bb08a7f6eaaea91005860 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 12 Jan 2003 01:24:41 +0000 Subject: Move root nodes ids to ephy-types. Simple logging facility: 2003-01-12 Marco Pesenti Gritti * configure.in: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/ephy-history.c: * lib/Makefile.am: * lib/ephy-types.h: * src/bookmarks/ephy-bookmarks.c: * src/ephy-shell.c: (ephy_shell_init): Move root nodes ids to ephy-types. Simple logging facility: EPHY_DEBUG_MODULES= all | filename will enable it. Need to provide a way to disable it and to get rid of the old per file crap. --- embed/ephy-favicon-cache.c | 8 +++----- embed/ephy-history.c | 7 +------ 2 files changed, 4 insertions(+), 11 deletions(-) (limited to 'embed') diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 029470d26..e833cf2c7 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -26,6 +26,7 @@ #include "ephy-file-helpers.h" #include "ephy-favicon-cache.h" #include "ephy-node.h" +#include "ephy-debug.h" #define EPHY_FAVICON_CACHE_XML_VERSION "0.1" @@ -51,11 +52,6 @@ enum LAST_SIGNAL }; -enum -{ - ICONS_NODE_ID = 9, -}; - static guint ephy_favicon_cache_signals[LAST_SIGNAL] = { 0 }; static GObjectClass *parent_class = NULL; @@ -395,6 +391,8 @@ ephy_favicon_cache_download (EphyFaviconCache *cache, EphyEmbedPersist *persist; const char *dest; + LOG ("Download favicon: %s", favicon_url) + g_return_if_fail (EPHY_IS_FAVICON_CACHE (cache)); g_return_if_fail (favicon_url != NULL); g_return_if_fail (filename != NULL); diff --git a/embed/ephy-history.c b/embed/ephy-history.c index db6f885d2..898f7034c 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -16,6 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "ephy-types.h" #include "ephy-history.h" #include "ephy-file-helpers.h" #include "ephy-autocompletion-source.h" @@ -57,12 +58,6 @@ enum LAST_SIGNAL }; -enum -{ - HOSTS_NODE_ID = 5, - PAGES_NODE_ID = 6 -}; - static void ephy_history_class_init (EphyHistoryClass *klass); static void -- cgit v1.2.3