aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg
diff options
context:
space:
mode:
Diffstat (limited to 'lib/egg')
-rw-r--r--lib/egg/egg-menu-merge.c2
-rw-r--r--lib/egg/egg-menu-merge.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/egg/egg-menu-merge.c b/lib/egg/egg-menu-merge.c
index 71c7fb8e0..d2ddb0565 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, guint length,
+ const gchar *buffer, glong length,
GError **error)
{
ParseContext ctx = { 0 };
diff --git a/lib/egg/egg-menu-merge.h b/lib/egg/egg-menu-merge.h
index f4c440706..80a507964 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,
- guint length,
+ glong length,
GError **error);
guint egg_menu_merge_add_ui_from_file (EggMenuMerge *self,
const gchar *filename,