aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-06-09 20:10:57 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-09 20:10:57 +0800
commita12c0af2690628f079a16dd86e3e234a0fdcfb29 (patch)
tree6d36a33ac9d42786beeacf75ea250d5df55cad2f /lib
parent33c5910a3d9312ddb30de41eeda7d96d3b98a6c7 (diff)
downloadgsoc2013-epiphany-a12c0af2690628f079a16dd86e3e234a0fdcfb29.tar
gsoc2013-epiphany-a12c0af2690628f079a16dd86e3e234a0fdcfb29.tar.gz
gsoc2013-epiphany-a12c0af2690628f079a16dd86e3e234a0fdcfb29.tar.bz2
gsoc2013-epiphany-a12c0af2690628f079a16dd86e3e234a0fdcfb29.tar.lz
gsoc2013-epiphany-a12c0af2690628f079a16dd86e3e234a0fdcfb29.tar.xz
gsoc2013-epiphany-a12c0af2690628f079a16dd86e3e234a0fdcfb29.tar.zst
gsoc2013-epiphany-a12c0af2690628f079a16dd86e3e234a0fdcfb29.zip
Update prototype.
2003-06-08 Jeremy Katz <katzj@redhat.com> * lib/egg/egg-menu-merge.h (egg_menu_merge_add_ui_from_string): Update prototype. * lib/egg/egg-menu-merge.c (egg_menu_merge_add_ui_from_file): size_t fixes for 64 bit platforms. (egg_menu_merge_add_ui_from_string): Use size_t appropriately.
Diffstat (limited to 'lib')
-rw-r--r--lib/egg/egg-menu-merge.c4
-rw-r--r--lib/egg/egg-menu-merge.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/egg/egg-menu-merge.c b/lib/egg/egg-menu-merge.c
index d2ddb0565..03f5686f0 100644
--- a/lib/egg/egg-menu-merge.c
+++ b/lib/egg/egg-menu-merge.c
@@ -700,7 +700,7 @@ static GMarkupParser ui_parser = {
guint
egg_menu_merge_add_ui_from_string (EggMenuMerge *self,
- const gchar *buffer, glong length,
+ const gchar *buffer, size_t length,
GError **error)
{
ParseContext ctx = { 0 };
@@ -742,7 +742,7 @@ egg_menu_merge_add_ui_from_file (EggMenuMerge *self,
GError **error)
{
gchar *buffer;
- gint length;
+ size_t length;
guint res;
if (!g_file_get_contents (filename, &buffer, &length, error))
diff --git a/lib/egg/egg-menu-merge.h b/lib/egg/egg-menu-merge.h
index 80a507964..842663b58 100644
--- a/lib/egg/egg-menu-merge.h
+++ b/lib/egg/egg-menu-merge.h
@@ -86,7 +86,7 @@ GtkWidget *egg_menu_merge_get_widget (EggMenuMerge *self,
* interface */
guint egg_menu_merge_add_ui_from_string (EggMenuMerge *self,
const gchar *buffer,
- glong length,
+ size_t length,
GError **error);
guint egg_menu_merge_add_ui_from_file (EggMenuMerge *self,
const gchar *filename,