KatzeArray* bookmarks);
static void
-midori_bookmarks_remove_item_cb (KatzeArray* bookmarks,
- GObject* item);
+midori_bookmarks_remove_item_cb (KatzeArray* folder,
+ GObject* item,
+ KatzeArray* bookmarks);
static void
midori_bookmarks_add_item_cb (KatzeArray* folder,
g_signal_connect_after (item, "add-item",
G_CALLBACK (midori_bookmarks_add_item_cb), bookmarks);
g_signal_connect_after (item, "remove-item",
- G_CALLBACK (midori_bookmarks_remove_item_cb), NULL);
+ G_CALLBACK (midori_bookmarks_remove_item_cb), bookmarks);
}
g_signal_connect_after (item, "notify",
}
static void
-midori_bookmarks_remove_item_cb (KatzeArray* bookmarks,
- GObject* item)
+midori_bookmarks_remove_item_cb (KatzeArray* folder,
+ GObject* item,
+ KatzeArray* bookmarks)
{
gchar* config_file;
GError* error;
g_signal_connect_after (bookmarks, "add-item",
G_CALLBACK (midori_bookmarks_add_item_cb), bookmarks);
g_signal_connect_after (bookmarks, "remove-item",
- G_CALLBACK (midori_bookmarks_remove_item_cb), NULL);
+ G_CALLBACK (midori_bookmarks_remove_item_cb), bookmarks);
if (!katze_array_is_empty (bookmarks))
{
i = 0;
g_signal_connect_after (item, "add-item",
G_CALLBACK (midori_bookmarks_add_item_cb), bookmarks);
g_signal_connect_after (item, "remove-item",
- G_CALLBACK (midori_bookmarks_remove_item_cb), NULL);
+ G_CALLBACK (midori_bookmarks_remove_item_cb), bookmarks);
}
g_signal_connect_after (item, "notify",
G_CALLBACK (midori_bookmarks_notify_item_cb), bookmarks);