diff options
author | Jean-François Rameau <jframeau@cvs.gnome.org> | 2005-08-01 04:35:26 +0800 |
---|---|---|
committer | Jean-François Rameau <jframeau@src.gnome.org> | 2005-08-01 04:35:26 +0800 |
commit | 320433a4a3b9c3abc62d2be1ca5e4157da209875 (patch) | |
tree | 4ff37026bf8ccfaf22770107c62a6d6ffe977c39 | |
parent | 05f2e7c42a70cb0bcc1041eeeca0674bb966082d (diff) | |
download | gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar.gz gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.tar.zst gsoc2013-epiphany-320433a4a3b9c3abc62d2be1ca5e4157da209875.zip |
Fix gcc 4.0 warnings.
2005-07-31 Jean-François Rameau <jframeau@cvs.gnome.org>
* src/epiphany.override: (_wrap_ephy_embed_event_get_coords):
* embed/ephy-history.c:
Fix gcc 4.0 warnings.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/ephy-history.c | 6 | ||||
-rw-r--r-- | src/epiphany.override | 4 |
3 files changed, 12 insertions, 5 deletions
@@ -1,3 +1,10 @@ +2005-07-31 Jean-François Rameau <jframeau@cvs.gnome.org> + + * src/epiphany.override: (_wrap_ephy_embed_event_get_coords): + * embed/ephy-history.c: + + Fix gcc 4.0 warnings. + 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: diff --git a/embed/ephy-history.c b/embed/ephy-history.c index f35b0f87a..d3c64d286 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -34,8 +34,8 @@ #include <glib/gi18n.h> #include <libgnomevfs/gnome-vfs-uri.h> -#define EPHY_HISTORY_XML_ROOT "ephy_history" -#define EPHY_HISTORY_XML_VERSION "1.0" +#define EPHY_HISTORY_XML_ROOT (const xmlChar *)"ephy_history" +#define EPHY_HISTORY_XML_VERSION (const xmlChar *)"1.0" /* how often to save the history, in milliseconds */ #define HISTORY_SAVE_INTERVAL (5 * 60 * 1000) @@ -277,7 +277,7 @@ ephy_history_save (EphyHistory *eb) LOG ("Saving history db"); ret = ephy_node_db_write_to_xml_safe - (eb->priv->db, eb->priv->xml_file, + (eb->priv->db, (const xmlChar *)eb->priv->xml_file, EPHY_HISTORY_XML_ROOT, EPHY_HISTORY_XML_VERSION, NULL, /* comment */ diff --git a/src/epiphany.override b/src/epiphany.override index f6b8d15b7..439ca3c2e 100644 --- a/src/epiphany.override +++ b/src/epiphany.override @@ -205,10 +205,10 @@ override ephy_embed_event_get_coords noargs static PyObject * _wrap_ephy_embed_event_get_coords(PyGObject *self) { - gint x, y; + guint x, y; ephy_embed_event_get_coords (EPHY_EMBED_EVENT(self->obj), &x, &y); - return Py_BuildValue("(ii)", x, y); + return Py_BuildValue("(ll)", x, y); } %% override ephy_window_get_tabs noargs |