}
-static void cm_button_delete_clicked_cb(GtkToolButton *button, CookieManagerPage *cmp)
+static void cm_delete_item(CookieManagerPage *cmp)
{
GtkTreeIter iter, iter_store, child;
GtkTreeModel *model;
}
}
+static void cm_button_delete_clicked_cb(GtkToolButton *button, CookieManagerPage *cmp)
+{
+ cm_delete_item(cmp);
+}
+
static void cm_delete_all_cookies_real(CookieManagerPage *cmp)
{
if (event->keyval == GDK_Delete && !
(event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MASK)))
{
- cm_button_delete_clicked_cb(NULL, cmp);
+ cm_delete_item(cmp);
return TRUE;
}
return FALSE;