static void floating_bar_action_cb (NemoFloatingBar *floating_bar, gint action, NemoWindowSlot *slot) { if (action == NEMO_FLOATING_BAR_ACTION_ID_STOP) { nemo_window_slot_stop_loading (slot); } }
static void action_stop_callback (GtkAction *action, gpointer user_data) { NemoWindow *window; NemoWindowSlot *slot; window = NEMO_WINDOW (user_data); slot = nemo_window_get_active_slot (window); nemo_window_slot_stop_loading (slot); }