From 61578d1e428abbd67ba292fcfe7310a71274ae10 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 24 Jun 2004 10:03:31 +0000 Subject: Use guint consistently for node ids 2004-06-24 Marco Pesenti Gritti * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_get_id), (child_changed), (write_parent): * lib/ephy-node.h: * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmark-properties.c: (toolbar_checkbox_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (cmd_show_in_bookmarks_bar), (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks-menu.c: (create_menu), (topic_child_changed_cb): * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_set_topic_id), (topic_child_changed_cb): Use guint consistently for node ids --- src/bookmarks/ephy-bookmarks-menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bookmarks/ephy-bookmarks-menu.c') diff --git a/src/bookmarks/ephy-bookmarks-menu.c b/src/bookmarks/ephy-bookmarks-menu.c index 7caa40d7a..601027aa2 100644 --- a/src/bookmarks/ephy-bookmarks-menu.c +++ b/src/bookmarks/ephy-bookmarks-menu.c @@ -210,7 +210,7 @@ create_menu (EphyBookmarksMenu *menu, EphyNode *node, const char *path) child = l->data; id = ephy_node_get_id (child); g_snprintf (verb, sizeof (verb), - "OpenBmk%ld", ephy_node_get_id (child)); + "OpenBmk%d", ephy_node_get_id (child)); g_snprintf (name, sizeof (name), "%sName", verb); g_snprintf (accel_path, sizeof (accel_path), "/BookmarksActions/%s", verb); @@ -487,7 +487,7 @@ topic_child_changed_cb (EphyNode *node, return; } - g_snprintf (name, sizeof (name), "OpenTopic%ld", ephy_node_get_id (child)); + g_snprintf (name, sizeof (name), "OpenTopic%d", ephy_node_get_id (child)); action = gtk_action_group_get_action (menu->priv->action_group, name); -- cgit v1.2.3