MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / queue_move_top_action_cb

Function queue_move_top_action_cb

gtk/src/queuehandler.c:2637–2658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2635}
2636
2637G_MODULE_EXPORT void
2638queue_move_top_action_cb (GSimpleAction *action, GVariant *param, gpointer data)
2639{
2640 GList * rows, * r;
2641 GtkListBox * lb;
2642 GtkListBoxRow * row;
2643 gint32 move_index;
2644
2645 lb = GTK_LIST_BOX(ghb_builder_widget("queue_list"));
2646 rows = r = gtk_list_box_get_selected_rows(lb);
2647
2648 move_index = 0;
2649 while (r != NULL)
2650 {
2651 row = (GtkListBoxRow *)r->data;
2652 queue_move_item(lb, row, move_index);
2653 r = r->next;
2654 move_index += 1;
2655 }
2656
2657 g_list_free(rows);
2658}
2659
2660G_MODULE_EXPORT void
2661queue_move_bottom_action_cb (GSimpleAction *action, GVariant *param,

Callers

nothing calls this directly

Calls 2

ghb_builder_widgetFunction · 0.85
queue_move_itemFunction · 0.85

Tested by

no test coverage detected