aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-12 09:24:41 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-12 09:24:41 +0800
commitdcccb22acc252879837bb08a7f6eaaea91005860 (patch)
tree82895a801f6dfbb70ecbc07adfdce0327911f226 /embed
parent594097cc0181cfea7e8205448a7b6e315e311a36 (diff)
downloadgsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.gz
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.bz2
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.lz
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.xz
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.tar.zst
gsoc2013-epiphany-dcccb22acc252879837bb08a7f6eaaea91005860.zip
Move root nodes ids to ephy-types. Simple logging facility:
2003-01-12 Marco Pesenti Gritti <marco@it.gnome.org> * 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.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-favicon-cache.c8
-rw-r--r--embed/ephy-history.c7
2 files changed, 4 insertions, 11 deletions
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